OpenSDN source code
|
Public Member Functions | |
NetlinkResponse (msghdr *req_msg, NetlinkSocket &nl_sock) | |
Construct a NetlinkResponse object from the request message and the Netlink socket. More... | |
~NetlinkResponse () | |
NetlinkResponse dtor. More... | |
template<class T > | |
int | response_iterate (const T &handler_func) |
Iterates over all response parts. More... | |
Public Attributes | |
struct nlmsghdr * | resp_nh_ |
A pointer to the begin of the response. More... | |
int | n_recv_ |
The number of received bytes in the response. More... | |
struct msghdr | msg_ |
contains message with response More... | |
struct iovec | iov_ |
Contains response data. More... | |
char | buffer_ [16384] |
A buffer for response data. More... | |
Private Member Functions | |
NetlinkResponse () | |
Forbid default ctor for NetlinkResponse. More... | |
Definition at line 200 of file linux/metadata_ipv6_netlink.cc.
|
private |
Forbid default ctor for NetlinkResponse.
|
inline |
Construct a NetlinkResponse object from the request message and the Netlink socket.
Definition at line 226 of file linux/metadata_ipv6_netlink.cc.
|
inline |
NetlinkResponse dtor.
Definition at line 247 of file linux/metadata_ipv6_netlink.cc.
|
inline |
Iterates over all response parts.
Definition at line 251 of file linux/metadata_ipv6_netlink.cc.
char aux::NetlinkResponse::buffer_[16384] |
A buffer for response data.
Definition at line 215 of file linux/metadata_ipv6_netlink.cc.
struct iovec aux::NetlinkResponse::iov_ |
Contains response data.
Definition at line 212 of file linux/metadata_ipv6_netlink.cc.
struct msghdr aux::NetlinkResponse::msg_ |
contains message with response
Definition at line 209 of file linux/metadata_ipv6_netlink.cc.
int aux::NetlinkResponse::n_recv_ |
The number of received bytes in the response.
Definition at line 206 of file linux/metadata_ipv6_netlink.cc.
struct nlmsghdr* aux::NetlinkResponse::resp_nh_ |
A pointer to the begin of the response.
Definition at line 203 of file linux/metadata_ipv6_netlink.cc.