Encapsulates the flags needed for ICMP. More...
#include <icmp.hpp>
Public Types | |
typedef basic_endpoint< icmp > | endpoint |
The type of a ICMP endpoint. More... | |
typedef basic_raw_socket< icmp > | socket |
The ICMP socket type. More... | |
typedef basic_resolver< icmp > | resolver |
The ICMP resolver type. More... | |
Public Member Functions | |
int | type () const |
Obtain an identifier for the type of the protocol. More... | |
int | protocol () const |
Obtain an identifier for the protocol. More... | |
int | family () const |
Obtain an identifier for the protocol family. More... | |
Static Public Member Functions | |
static icmp | v4 () |
Construct to represent the IPv4 ICMP protocol. More... | |
static icmp | v6 () |
Construct to represent the IPv6 ICMP protocol. More... | |
Friends | |
bool | operator== (const icmp &p1, const icmp &p2) |
Compare two protocols for equality. More... | |
bool | operator!= (const icmp &p1, const icmp &p2) |
Compare two protocols for inequality. More... | |
Encapsulates the flags needed for ICMP.
The boost::asio::ip::icmp class contains flags necessary for ICMP sockets.
The type of a ICMP endpoint.
The ICMP resolver type.
The ICMP socket type.
|
inline |
Obtain an identifier for the protocol family.
|
inline |
Obtain an identifier for the protocol.
|
inline |
Obtain an identifier for the type of the protocol.
|
inlinestatic |
Construct to represent the IPv4 ICMP protocol.
|
inlinestatic |
Construct to represent the IPv6 ICMP protocol.