NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
network-monitor-impl-rtnl.cpp File Reference
#include "network-monitor-impl-rtnl.hpp"
#include "linux-if-constants.hpp"
#include "../network-address.hpp"
#include "../network-interface.hpp"
#include "../../util/logger.hpp"
#include "../../util/time.hpp"
#include <boost/asio/write.hpp>
#include <cerrno>
#include <cstdlib>
#include <net/if_arp.h>
#include <sys/socket.h>
Include dependency graph for network-monitor-impl-rtnl.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 NLMSG_STRINGIFY(x)   case NLMSG_##x: return "<" #x ">"
 
#define RTM_STRINGIFY(x)   case RTM_##x: return "<" #x ">"
 

Functions

static const char * ndn::net::nlmsgTypeToString (uint16_t type)
 
static InterfaceType ndn::net::ifiTypeToInterfaceType (uint16_t type)
 
static AddressFamily ndn::net::ifaFamilyToAddressFamily (uint8_t family)
 
static AddressScope ndn::net::ifaScopeToAddressScope (uint8_t scope)
 

Variables

ndn NetworkMonitor
 

Macro Definition Documentation

◆ NLMSG_STRINGIFY

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

◆ RTM_STRINGIFY

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

Variable Documentation

◆ NetworkMonitor

ndn NetworkMonitor

Definition at line 38 of file network-monitor-impl-rtnl.cpp.