添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
笑点低的人字拖  ·  Speech-to-Text in ...·  5 小时前    · 
痴情的铁链  ·  object、Object、{}の違い | ...·  9 小时前    · 
傲视众生的苦咖啡  ·  [TypeScript] ...·  9 小时前    · 
帅气的投影仪  ·  [email protected] ...·  13 小时前    · 
不拘小节的番茄  ·  Mac环境下jupyter ...·  4 月前    · 
NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks API Documentation
static AddressScope ifaScopeToAddressScope(uint8_t scope)
interface can be used to send and receive packets
interface is administratively up but has no carrier
void setState(InterfaceState state)
#define RTM_STRINGIFY(x)
static shared_ptr< NetworkInterface > makeNetworkInterface()
const size_t ADDR_LEN
Octets in one Ethernet address.
Definition: ethernet.hpp:41
static const char * nlmsgTypeToString(uint16_t type)
static AddressFamily ifaFamilyToAddressFamily(uint8_t family)
#define NLMSG_STRINGIFY(x)
#define emitSignal(...)
(implementation detail)
Definition: emit.hpp:76
InterfaceType
Indicates the hardware type of a network interface.
constexpr duration< Rep, Period > abs(duration< Rep, Period > d)
Definition: time.hpp:53
static InterfaceType ifiTypeToInterfaceType(uint16_t type)
shared_ptr< const NetworkInterface > getNetworkInterface(const std::string &ifname) const final
util::Signal< NetworkMonitorImpl > onEnumerationCompleted
Represents one network interface attached to the host.
#define NDN_LOG_INIT(name)
declare a log module
Definition: logger.hpp:32
Stores one IP address supported by a network interface.
#define NDN_LOG_DEBUG(expression)
Definition: logger.hpp:35
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceRemoved
NetworkMonitorImplRtnl(boost::asio::io_service &io)
initialize netlink socket and start enumerating interfaces
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceAdded
interface has a carrier but it cannot send or receive normal user traffic yet
AddressFamily getFamily() const
Returns the address family.
represents an Ethernet hardware address
Definition: ethernet.hpp:52
uint32_t getFlags() const
Returns a bitset of platform-specific flags enabled on the interface.
#define NDN_LOG_ERROR(expression)
Definition: logger.hpp:38
std::string to_string(const V &v)
Definition: backports.hpp:84
util::Signal< NetworkMonitorImpl > onNetworkStateChanged
#define NDN_LOG_TRACE(expression)
Definition: logger.hpp:34
Catch-all error for socket component errors that don&#39;t fit in other categories.
Definition: base.hpp:83
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces() const final