Classes | |
class | NetworkAddress |
Stores one IP address supported by a network interface. More... | |
class | NetworkInterface |
Represents one network interface attached to the host. More... | |
class | NetworkMonitor |
Network interface monitor. More... | |
class | NetworkMonitorImpl |
class | NetworkMonitorStub |
A dummy NetworkMonitor for unit testing. More... | |
Enumerations | |
enum class | AddressFamily { UNSPECIFIED , V4 , V6 } |
enum class | AddressScope { NOWHERE , HOST , LINK , GLOBAL } |
enum class | InterfaceState { UNKNOWN , DOWN , NO_CARRIER , DORMANT , RUNNING } |
Indicates the state of a network interface. More... | |
enum class | InterfaceType { UNKNOWN , LOOPBACK , ETHERNET } |
Indicates the hardware type of a network interface. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, AddressScope scope) |
std::ostream & | operator<< (std::ostream &os, const NetworkAddress &addr) |
std::ostream & | operator<< (std::ostream &os, const NetworkInterface &netif) |
std::ostream & | operator<< (std::ostream &os, InterfaceState state) |
std::ostream & | operator<< (std::ostream &os, InterfaceType type) |
|
strong |
Enumerator | |
---|---|
UNSPECIFIED | |
V4 | |
V6 |
Definition at line 34 of file network-address.hpp.
|
strong |
Enumerator | |
---|---|
NOWHERE | |
HOST | |
LINK | |
GLOBAL |
Definition at line 40 of file network-address.hpp.
|
strong |
Indicates the state of a network interface.
Definition at line 51 of file network-interface.hpp.
|
strong |
Indicates the hardware type of a network interface.
Enumerator | |
---|---|
UNKNOWN | |
LOOPBACK | |
ETHERNET |
Definition at line 38 of file network-interface.hpp.
std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
AddressScope | scope | ||
) |
Definition at line 32 of file network-address.cpp.
std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
const NetworkAddress & | addr | ||
) |
Definition at line 75 of file network-address.cpp.
std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
const NetworkInterface & | netif | ||
) |
Definition at line 161 of file network-interface.cpp.
std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
InterfaceState | state | ||
) |
Definition at line 134 of file network-interface.cpp.
std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
InterfaceType | type | ||
) |
Definition at line 120 of file network-interface.cpp.