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 stub NetworkMonitor for unit testing More... | |
Enumerations | |
| enum | AddressFamily { AddressFamily::UNSPECIFIED, AddressFamily::V4, AddressFamily::V6 } |
| enum | AddressScope { AddressScope::NOWHERE, AddressScope::HOST, AddressScope::LINK, AddressScope::GLOBAL } |
| enum | InterfaceState { InterfaceState::UNKNOWN, InterfaceState::DOWN, InterfaceState::NO_CARRIER, InterfaceState::DORMANT, InterfaceState::RUNNING } |
| Indicates the state of a network interface. More... | |
| enum | InterfaceType { InterfaceType::UNKNOWN, InterfaceType::LOOPBACK, InterfaceType::ETHERNET } |
| Indicates the hardware type of a network interface. More... | |
Functions | |
| static unique_ptr< NetworkMonitorImpl > | makeNetworkMonitorImpl (boost::asio::io_service &io) |
| std::ostream & | operator<< (std::ostream &os, AddressScope scope) |
| std::ostream & | operator<< (std::ostream &os, const NetworkAddress &addr) |
| std::ostream & | operator<< (std::ostream &os, InterfaceType type) |
| std::ostream & | operator<< (std::ostream &os, InterfaceState state) |
| std::ostream & | operator<< (std::ostream &os, const NetworkInterface &netif) |
| static void | printFlag (std::ostream &os, uint32_t &flags, uint32_t flagVal, const char *flagStr) |
|
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 50 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.
|
static |
Definition at line 46 of file network-monitor.cpp.
| std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
| AddressScope | scope | ||
| ) |
Definition at line 30 of file network-address.cpp.
| std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
| const NetworkAddress & | addr | ||
| ) |
Definition at line 61 of file network-address.cpp.
| std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
| InterfaceType | type | ||
| ) |
Definition at line 129 of file network-interface.cpp.
| std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
| InterfaceState | state | ||
| ) |
Definition at line 143 of file network-interface.cpp.
| std::ostream & ndn::net::operator<< | ( | std::ostream & | os, |
| const NetworkInterface & | netif | ||
| ) |
Definition at line 170 of file network-interface.cpp.
|
static |
Definition at line 161 of file network-interface.cpp.