NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
netlink-socket.cpp File Reference
#include "ndn-cxx/net/impl/netlink-socket.hpp"
#include "ndn-cxx/net/impl/netlink-message.hpp"
#include "ndn-cxx/util/logger.hpp"
#include "ndn-cxx/util/time.hpp"
#include <cerrno>
#include <linux/genetlink.h>
#include <sys/socket.h>
#include <boost/asio/write.hpp>
Include dependency graph for netlink-socket.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::net
 

Macros

#define SOL_NETLINK   270
 
#define RTEXT_FILTER_SKIP_STATS   (1 << 3)
 
#define NLMSG_STRINGIFY(x)   case NLMSG_##x: return to_string(type) + "<" #x ">"
 
#define RTM_STRINGIFY(x)   case RTM_##x: return to_string(type) + "<" #x ">"
 

Variables

ndn NetworkMonitor
 

Macro Definition Documentation

◆ SOL_NETLINK

#define SOL_NETLINK   270

Definition at line 36 of file netlink-socket.cpp.

◆ RTEXT_FILTER_SKIP_STATS

#define RTEXT_FILTER_SKIP_STATS   (1 << 3)

Definition at line 39 of file netlink-socket.cpp.

◆ NLMSG_STRINGIFY

#define NLMSG_STRINGIFY (   x)    case NLMSG_##x: return to_string(type) + "<" #x ">"

◆ RTM_STRINGIFY

#define RTM_STRINGIFY (   x)    case RTM_##x: return to_string(type) + "<" #x ">"

Variable Documentation

◆ NetworkMonitor

ndn NetworkMonitor

Definition at line 42 of file netlink-socket.cpp.