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

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

Inheritance diagram for ndn::net::NetworkMonitorImplNetlink:
Collaboration diagram for ndn::net::NetworkMonitorImplNetlink:

Public Member Functions

 NetworkMonitorImplNetlink (boost::asio::io_service &io)
 initialize netlink socket and start enumerating interfaces More...
 
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 Types inherited from ndn::net::NetworkMonitorImpl
using Error = NetworkMonitor::Error
 
- 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 41 of file network-monitor-impl-netlink.hpp.

Constructor & Destructor Documentation

◆ NetworkMonitorImplNetlink()

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

Member Function Documentation

◆ getCapabilities()

◆ getNetworkInterface()

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

Implements ndn::net::NetworkMonitorImpl.

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

◆ listNetworkInterfaces()

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

Implements ndn::net::NetworkMonitorImpl.

Definition at line 75 of file network-monitor-impl-netlink.cpp.


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