OpenSDN source code
|
Classes | |
struct | NetlinkRequest |
A class template to store Netlink request data. More... | |
class | NetlinkSocket |
A storage for the Netlink socket descriptor. More... | |
struct | NetlinkResponse |
struct | IPv6Reader |
Functions | |
void | insert_attr (nlmsghdr *nl_msg, unsigned short attr_type, int attr_len, const void *attr_data) |
A wrapper function to insert an attribute into a netlink message. More... | |
static bool | read_ack_response (const msghdr *msg, int send_n, NetlinkSocket &nl_sock, const char *func_name) |
Reads a response (ack/nock) after a Netlink request. More... | |
void aux::insert_attr | ( | nlmsghdr * | nl_msg, |
unsigned short | attr_type, | ||
int | attr_len, | ||
const void * | attr_data | ||
) |
A wrapper function to insert an attribute into a netlink message.
Definition at line 30 of file linux/metadata_ipv6_netlink.cc.
|
static |
Reads a response (ack/nock) after a Netlink request.
Definition at line 323 of file linux/metadata_ipv6_netlink.cc.