#include <network-monitor-impl-rtnl.hpp>
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 NetworkInterface > | getNetworkInterface (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< NetworkMonitorImpl > | onEnumerationCompleted |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceAdded |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceRemoved |
util::Signal< NetworkMonitorImpl > | onNetworkStateChanged |
Static Protected Member Functions inherited from ndn::net::NetworkMonitorImpl | |
static shared_ptr< NetworkInterface > | makeNetworkInterface () |
Definition at line 47 of file network-monitor-impl-rtnl.hpp.
Definition at line 50 of file network-monitor-impl-rtnl.hpp.
|
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.
|
inlinefinalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 60 of file network-monitor-impl-rtnl.hpp.
References ndn::net::NetworkMonitor::CAP_ADDR_ADD_REMOVE, ndn::net::NetworkMonitor::CAP_ENUM, ndn::net::NetworkMonitor::CAP_IF_ADD_REMOVE, ndn::net::NetworkMonitor::CAP_MTU_CHANGE, and ndn::net::NetworkMonitor::CAP_STATE_CHANGE.
|
finalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 65 of file network-monitor-impl-rtnl.cpp.
|
finalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 75 of file network-monitor-impl-rtnl.cpp.