OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
aux Namespace Reference

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...
 

Function Documentation

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 bool aux::read_ack_response ( const msghdr *  msg,
int  send_n,
NetlinkSocket &  nl_sock,
const char *  func_name 
)
static

Reads a response (ack/nock) after a Netlink request.

Definition at line 323 of file linux/metadata_ipv6_netlink.cc.

Here is the call graph for this function: