network-monitor-impl-rtnl.cpp File Reference
#include "network-monitor-impl-rtnl.hpp"
#include "linux-if-constants.hpp"
#include "../logger.hpp"
#include "../network-address.hpp"
#include "../network-interface.hpp"
#include "../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) 2013-2016 Regents of the University of California.
 
 ndn::util
 

Macros

#define NDN_NLMSG_STRING(x)   case NLMSG_##x: return "<" #x ">"
 
#define NDN_RTM_STRING(x)   case RTM_##x: return "<" #x ">"
 

Functions

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

Variables

ndn NetworkMonitor
 Copyright (c) 2013-2017 Regents of the University of California. More...
 

Macro Definition Documentation

#define NDN_NLMSG_STRING (   x)    case NLMSG_##x: return "<" #x ">"
#define NDN_RTM_STRING (   x)    case RTM_##x: return "<" #x ">"

Variable Documentation

ndn NetworkMonitor

Copyright (c) 2013-2017 Regents of the University of California.

This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).

ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

See AUTHORS.md for complete list of ndn-cxx authors and contributors.

Author
Davide Pesavento david.nosp@m.e.pe.nosp@m.saven.nosp@m.to@l.nosp@m.ip6.f.nosp@m.r

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