INET Framework for OMNeT++/OMNEST
inet::Ipv4NetworkConfigurator::InterfaceInfo Class Reference

Represents an interface in the network. More...

#include <Ipv4NetworkConfigurator.h>

Inheritance diagram for inet::Ipv4NetworkConfigurator::InterfaceInfo:
inet::L3NetworkConfiguratorBase::InterfaceInfo

Public Member Functions

 InterfaceInfo (Node *node, LinkInfo *linkInfo, NetworkInterface *networkInterface)
 
Ipv4Address getAddress () const
 
Ipv4Address getNetmask () const
 
- Public Member Functions inherited from inet::L3NetworkConfiguratorBase::InterfaceInfo
 InterfaceInfo (Node *node, LinkInfo *linkInfo, NetworkInterface *networkInterface)
 
virtual std::string getFullPath () const override
 

Public Attributes

uint32_t address
 
uint32_t addressSpecifiedBits
 
uint32_t netmask
 
uint32_t netmaskSpecifiedBits
 
std::vector< Ipv4AddressmulticastGroups
 
- Public Attributes inherited from inet::L3NetworkConfiguratorBase::InterfaceInfo
Nodenode = nullptr
 
LinkInfolinkInfo = nullptr
 
NetworkInterfacenetworkInterface = nullptr
 
int mtu = 0
 
double metric = NaN
 
bool configure = false
 
bool addStaticRoute = false
 
bool addDefaultRoute = false
 
bool addSubnetRoute = false
 

Detailed Description

Represents an interface in the network.

Constructor & Destructor Documentation

◆ InterfaceInfo()

inet::Ipv4NetworkConfigurator::InterfaceInfo::InterfaceInfo ( Node node,
LinkInfo linkInfo,
NetworkInterface networkInterface 
)
27  :
28  L3NetworkConfiguratorBase::InterfaceInfo(node, linkInfo, networkInterface),
29  address(0),
31  netmask(0),
33 {
34 }

Member Function Documentation

◆ getAddress()

◆ getNetmask()

Ipv4Address inet::Ipv4NetworkConfigurator::InterfaceInfo::getNetmask ( ) const
inline

Member Data Documentation

◆ address

◆ addressSpecifiedBits

◆ multicastGroups

◆ netmask

◆ netmaskSpecifiedBits


The documentation for this class was generated from the following files:
inet::L3NetworkConfiguratorBase::InterfaceInfo::networkInterface
NetworkInterface * networkInterface
Definition: L3NetworkConfiguratorBase.h:62
inet::L3NetworkConfiguratorBase::InterfaceInfo::node
Node * node
Definition: L3NetworkConfiguratorBase.h:60
inet::Ipv4NetworkConfigurator::InterfaceInfo::netmask
uint32_t netmask
Definition: Ipv4NetworkConfigurator.h:59
inet::Ipv4NetworkConfigurator::InterfaceInfo::address
uint32_t address
Definition: Ipv4NetworkConfigurator.h:57
inet::L3NetworkConfiguratorBase::InterfaceInfo::linkInfo
LinkInfo * linkInfo
Definition: L3NetworkConfiguratorBase.h:61
inet::Ipv4NetworkConfigurator::InterfaceInfo::netmaskSpecifiedBits
uint32_t netmaskSpecifiedBits
Definition: Ipv4NetworkConfigurator.h:60
inet::Ipv4NetworkConfigurator::InterfaceInfo::addressSpecifiedBits
uint32_t addressSpecifiedBits
Definition: Ipv4NetworkConfigurator.h:58