INET Framework for OMNeT++/OMNEST
inet::Ieee8021dInterfaceData::PortInfo Class Reference

#include <Ieee8021dInterfaceData.h>

Public Member Functions

 PortInfo ()
 

Public Attributes

unsigned int priority
 
unsigned int linkCost
 
bool edge
 
PortState state
 
PortRole role
 
unsigned int rootPriority
 
MACAddress rootAddress
 
unsigned int rootPathCost
 
unsigned int bridgePriority
 
MACAddress bridgeAddress
 
unsigned int portPriority
 
unsigned int portNum
 
simtime_t age
 
simtime_t maxAge
 
simtime_t fdWhile
 
simtime_t fwdDelay
 
simtime_t helloTime
 
simtime_t TCWhile
 
unsigned int lostBPDU
 
simtime_t nextUpgrade
 

Constructor & Destructor Documentation

inet::Ieee8021dInterfaceData::PortInfo::PortInfo ( )
25 {
26  priority = 0;
27  linkCost = 1;
28  edge = false;
29 
30  // If there is no STP module then all ports
31  // must be in forwarding state.
32  state = FORWARDING;
33  role = NOTASSIGNED;
34 
35  rootPriority = 0;
36  rootPathCost = 0;
37  bridgePriority = 0;
38  portPriority = 0;
39  portNum = -1;
40 
41  lostBPDU = 0;
42 }
PortState state
Definition: Ieee8021dInterfaceData.h:51
PortRole role
Definition: Ieee8021dInterfaceData.h:52
unsigned int portNum
Definition: Ieee8021dInterfaceData.h:60
unsigned int portPriority
Definition: Ieee8021dInterfaceData.h:59
unsigned int lostBPDU
Definition: Ieee8021dInterfaceData.h:74
unsigned int rootPathCost
Definition: Ieee8021dInterfaceData.h:56
unsigned int linkCost
Definition: Ieee8021dInterfaceData.h:48
unsigned int priority
Definition: Ieee8021dInterfaceData.h:47
unsigned int rootPriority
Definition: Ieee8021dInterfaceData.h:54
unsigned int bridgePriority
Definition: Ieee8021dInterfaceData.h:57
Definition: Ieee8021dInterfaceData.h:37
Definition: Ieee8021dInterfaceData.h:39
bool edge
Definition: Ieee8021dInterfaceData.h:49

Member Data Documentation

simtime_t inet::Ieee8021dInterfaceData::PortInfo::age
MACAddress inet::Ieee8021dInterfaceData::PortInfo::bridgeAddress
unsigned int inet::Ieee8021dInterfaceData::PortInfo::bridgePriority
simtime_t inet::Ieee8021dInterfaceData::PortInfo::fdWhile
simtime_t inet::Ieee8021dInterfaceData::PortInfo::fwdDelay
simtime_t inet::Ieee8021dInterfaceData::PortInfo::helloTime
unsigned int inet::Ieee8021dInterfaceData::PortInfo::lostBPDU
simtime_t inet::Ieee8021dInterfaceData::PortInfo::maxAge
simtime_t inet::Ieee8021dInterfaceData::PortInfo::nextUpgrade
unsigned int inet::Ieee8021dInterfaceData::PortInfo::portNum
unsigned int inet::Ieee8021dInterfaceData::PortInfo::portPriority
PortRole inet::Ieee8021dInterfaceData::PortInfo::role
MACAddress inet::Ieee8021dInterfaceData::PortInfo::rootAddress
unsigned int inet::Ieee8021dInterfaceData::PortInfo::rootPathCost
unsigned int inet::Ieee8021dInterfaceData::PortInfo::rootPriority
simtime_t inet::Ieee8021dInterfaceData::PortInfo::TCWhile

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