NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::net::NetworkMonitorImplRtnl Class Reference

#include <network-monitor-impl-rtnl.hpp>

Inheritance diagram for ndn::net::NetworkMonitorImplRtnl:
Collaboration diagram for ndn::net::NetworkMonitorImplRtnl:

Public Types

using Error = NetworkMonitor::Error
 

Public Member Functions

 NetworkMonitorImplRtnl (boost::asio::io_service &io)
 initialize netlink socket and start enumerating interfaces More...
 
 ~NetworkMonitorImplRtnl ()
 
uint32_t getCapabilities () const final
 
shared_ptr< const NetworkInterfacegetNetworkInterface (const std::string &ifname) const final
 
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces () const final
 
- Public Member Functions inherited from ndn::net::NetworkMonitorImpl
virtual ~NetworkMonitorImpl ()=default
 

Additional Inherited Members

- Public Attributes inherited from ndn::net::NetworkMonitorImpl
util::Signal< NetworkMonitorImplonEnumerationCompleted
 
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceAdded
 
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceRemoved
 
util::Signal< NetworkMonitorImplonNetworkStateChanged
 
- Static Protected Member Functions inherited from ndn::net::NetworkMonitorImpl
static shared_ptr< NetworkInterfacemakeNetworkInterface ()
 

Detailed Description

Definition at line 47 of file network-monitor-impl-rtnl.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

ndn::net::NetworkMonitorImplRtnl::NetworkMonitorImplRtnl ( boost::asio::io_service &  io)
explicit

initialize netlink socket and start enumerating interfaces

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

References NDN_LOG_TRACE.

ndn::net::NetworkMonitorImplRtnl::~NetworkMonitorImplRtnl ( )

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

Member Function Documentation

shared_ptr< const NetworkInterface > ndn::net::NetworkMonitorImplRtnl::getNetworkInterface ( const std::string &  ifname) const
finalvirtual

Implements ndn::net::NetworkMonitorImpl.

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

Referenced by getCapabilities().

std::vector< shared_ptr< const NetworkInterface > > ndn::net::NetworkMonitorImplRtnl::listNetworkInterfaces ( ) const
finalvirtual

The documentation for this class was generated from the following files: