contains information about a network interface More...
#include <network-interface.hpp>
Public Member Functions | |
bool | isLoopback () const |
bool | isMulticastCapable () const |
bool | isBroadcastCapable () const |
bool | isUp () const |
Public Attributes | |
int | index |
std::string | name |
ethernet::Address | etherAddress |
std::vector< boost::asio::ip::address_v4 > | ipv4Addresses |
std::vector< boost::asio::ip::address_v6 > | ipv6Addresses |
boost::asio::ip::address_v4 | broadcastAddress |
unsigned int | flags |
contains information about a network interface
Definition at line 41 of file network-interface.hpp.
|
inline |
Definition at line 68 of file network-interface.hpp.
References flags.
|
inline |
Definition at line 74 of file network-interface.hpp.
References flags.
|
inline |
Definition at line 80 of file network-interface.hpp.
References flags.
Referenced by nfd::listNetworkInterfaces().
|
inline |
Definition at line 86 of file network-interface.hpp.
References flags, and nfd::listNetworkInterfaces().
int nfd::NetworkInterfaceInfo::index |
Definition at line 45 of file network-interface.hpp.
Referenced by nfd::listNetworkInterfaces().
std::string nfd::NetworkInterfaceInfo::name |
Definition at line 46 of file network-interface.hpp.
Referenced by nfd::EthernetFactory::createMulticastFace(), and nfd::listNetworkInterfaces().
ethernet::Address nfd::NetworkInterfaceInfo::etherAddress |
Definition at line 47 of file network-interface.hpp.
Referenced by nfd::listNetworkInterfaces().
std::vector<boost::asio::ip::address_v4> nfd::NetworkInterfaceInfo::ipv4Addresses |
Definition at line 48 of file network-interface.hpp.
Referenced by nfd::listNetworkInterfaces().
std::vector<boost::asio::ip::address_v6> nfd::NetworkInterfaceInfo::ipv6Addresses |
Definition at line 49 of file network-interface.hpp.
Referenced by nfd::listNetworkInterfaces().
boost::asio::ip::address_v4 nfd::NetworkInterfaceInfo::broadcastAddress |
Definition at line 50 of file network-interface.hpp.
Referenced by nfd::listNetworkInterfaces().
unsigned int nfd::NetworkInterfaceInfo::flags |
Definition at line 51 of file network-interface.hpp.
Referenced by isBroadcastCapable(), isLoopback(), isMulticastCapable(), isUp(), and nfd::listNetworkInterfaces().