nfd::NetworkInterfaceInfo Class Reference

contains information about a network interface More...

#include <network-interface.hpp>

Collaboration diagram for nfd::NetworkInterfaceInfo:

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
 

Detailed Description

contains information about a network interface

Definition at line 41 of file network-interface.hpp.

Member Function Documentation

bool nfd::NetworkInterfaceInfo::isBroadcastCapable ( ) const
inline

Definition at line 80 of file network-interface.hpp.

bool nfd::NetworkInterfaceInfo::isLoopback ( ) const
inline

Definition at line 68 of file network-interface.hpp.

bool nfd::NetworkInterfaceInfo::isMulticastCapable ( ) const
inline

Definition at line 74 of file network-interface.hpp.

bool nfd::NetworkInterfaceInfo::isUp ( ) const
inline

Definition at line 86 of file network-interface.hpp.

Member Data Documentation

boost::asio::ip::address_v4 nfd::NetworkInterfaceInfo::broadcastAddress

Definition at line 50 of file network-interface.hpp.

ethernet::Address nfd::NetworkInterfaceInfo::etherAddress

Definition at line 47 of file network-interface.hpp.

unsigned int nfd::NetworkInterfaceInfo::flags

Definition at line 51 of file network-interface.hpp.

int nfd::NetworkInterfaceInfo::index

Definition at line 45 of file network-interface.hpp.

std::vector<boost::asio::ip::address_v4> nfd::NetworkInterfaceInfo::ipv4Addresses

Definition at line 48 of file network-interface.hpp.

std::vector<boost::asio::ip::address_v6> nfd::NetworkInterfaceInfo::ipv6Addresses

Definition at line 49 of file network-interface.hpp.

std::string nfd::NetworkInterfaceInfo::name

Definition at line 46 of file network-interface.hpp.