NetlinkSocketObserver (NetlinkSocket4& ns4, NetlinkSocket6& ns6)
| NetlinkSocketObserver |
~NetlinkSocketObserver ()
| ~NetlinkSocketObserver |
[virtual]
void nlsock_data (const uint8_t* data, size_t nbytes)
| nlsock_data |
[pure virtual]
Receive data from the netlink socket.
Note that this method is called asynchronously when the netlink socket has data to receive, therefore it should never be called directly by anything else except the netlink socket facility itself.
Parameters:
data | the buffer with the received data. |
nbytes | the number of bytes in the data buffer. |
NetlinkSocket& netlink_socket4 ()
| netlink_socket4 |
Get NetlinkSocket for IPv4 associated with Observer.
NetlinkSocket& netlink_socket6 ()
| netlink_socket6 |
Get NetlinkSocket for IPv6 associated with Observer.