#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"
Go to the source code of this file.
|
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...
|
|
#define NLM_F_DUMP_FILTERED 0x20 |