OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
linux/metadata_ipv6_netlink.cc File Reference
#include <errno.h>
#include <net/if.h>
#include <sys/socket.h>
#include <unistd.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/neighbour.h>
#include <linux/if_addr.h>
#include <arpa/inet.h>
#include <cstring>
#include <cmn/agent_cmn.h>
#include <oper/interface_common.h>
#include "services/metadata_proxy.h"
#include "services/services_init.h"
Include dependency graph for linux/metadata_ipv6_netlink.cc:

Go to the source code of this file.

Classes

struct  aux::NetlinkRequest< T >
 A class template to store Netlink request data. More...
 
class  aux::NetlinkSocket
 A storage for the Netlink socket descriptor. More...
 
struct  aux::NetlinkResponse
 
struct  aux::IPv6Reader
 

Namespaces

 aux
 

Macros

#define NLM_F_DUMP_FILTERED   0x20
 

Functions

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. More...
 
static bool aux::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...
 

Macro Definition Documentation

#define NLM_F_DUMP_FILTERED   0x20

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