|
Whisper Library
|
Protocol for using raw sockets. More...
Public Types | |
|
typedef boost::asio::basic_raw_socket < RawSocketProtocol > | socket |
| The RAW socket type. | |
|
typedef boost::asio::ip::basic_resolver < RawSocketProtocol > | resolver |
| The RAW resolver type. | |
|
typedef boost::asio::ip::basic_endpoint < RawSocketProtocol > | endpoint |
| The type of a RAW endpoint. | |
Public Member Functions | |
| RawSocketProtocol () | |
| default constructor | |
| int | type () const |
| protocol type identifier | |
| int | protocol () const |
| int | family () const |
Static Public Member Functions | |
| static RawSocketProtocol | v4 () |
| Construct to represent the IPv4 RAW protocol. | |
| static RawSocketProtocol | v6 () |
| Construct to represent the IPv6 RAW protocol. | |
Private Member Functions | |
| RawSocketProtocol (int protocol, int family) | |
| private constructor | |
Private Attributes | |
| int | m_protocol |
| protocol identifier | |
| int | m_family |
| protocol family indentifier | |
Friends | |
| bool | operator== (const RawSocketProtocol &p1, const RawSocketProtocol &p2) |
| Compare two protocols for equality. | |
| bool | operator!= (const RawSocketProtocol &p1, const RawSocketProtocol &p2) |
| Compare two protocols for inequality. | |
Protocol for using raw sockets.
|
inline |
|
inline |