NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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

§ isLoopback()

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

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

References flags.

§ isMulticastCapable()

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

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

References flags.

§ isBroadcastCapable()

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

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

References flags.

Referenced by nfd::listNetworkInterfaces().

§ isUp()

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

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

References flags, and nfd::listNetworkInterfaces().

Member Data Documentation

§ index

int nfd::NetworkInterfaceInfo::index

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

Referenced by nfd::listNetworkInterfaces().

§ name

std::string nfd::NetworkInterfaceInfo::name

§ etherAddress

ethernet::Address nfd::NetworkInterfaceInfo::etherAddress

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

Referenced by nfd::listNetworkInterfaces().

§ ipv4Addresses

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

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

Referenced by nfd::listNetworkInterfaces().

§ ipv6Addresses

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

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

Referenced by nfd::listNetworkInterfaces().

§ broadcastAddress

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

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

Referenced by nfd::listNetworkInterfaces().

§ flags

unsigned int nfd::NetworkInterfaceInfo::flags

The documentation for this class was generated from the following file: