_StpBridgeContext Struct Reference

STP bridge context. More...

#include <stp.h>

Data Fields

NetInterfaceinterface
 Underlying network interface. More...
 
uint_t numPorts
 Number of ports. More...
 
StpBridgePortports
 Bridge's ports. More...
 
bool_t running
 STP bridge operation state. More...
 
StpBridgeId designatedRoot
 Unique identifier of the bridge assumed to be the Root (8.5.3.1) More...
 
uint32_t rootPathCost
 Cost of the path to the Root from this bridge (8.5.3.2) More...
 
uint16_t rootPort
 Port identifier of the port that offers the lowest cost path to the Root (8.5.3.3) More...
 
uint_t maxAge
 Maximum age of received protocol information before it is discarded (8.5.3.4) More...
 
uint_t helloTime
 Time interval between the transmission of Configuration BPDUs (8.5.3.5) More...
 
uint_t forwardDelay
 Time spent in the Listening/Learning state before moving to the Learning/Forwarding state (8.5.3.6) More...
 
StpBridgeId bridgeId
 Unique identifier assigned to the bridge (8.5.3.7) More...
 
uint_t bridgeMaxAge
 Value of the Max Age parameter when the bridge is the Root (8.5.3.8) More...
 
uint_t bridgeHelloTime
 Value of the Hello Time parameter when the bridge is the Root (8.5.3.9) More...
 
uint_t bridgeForwardDelay
 Value of the Forward Delay parameter when the bridge is the Root (8.5.3.10) More...
 
bool_t topologyChangeDetected
 A topology change has been detected by or notified to the bridge (8.5.3.11) More...
 
bool_t topologyChange
 Boolean (8.5.3.12) More...
 
uint_t topologyChangeTime
 Time period for which Configuration messages indicate topology change (8.5.3.13) More...
 
uint_t holdTime
 Minimum time period between transmission of Configuration BPDUs (8.5.3.14) More...
 
StpTimer helloTimer
 Hello timer (8.5.4.1) More...
 
StpTimer tcnTimer
 Topology change notification timer (8.5.4.2) More...
 
StpTimer topologyChangeTimer
 Topology change timer (8.5.4.3) More...
 
uint_t ageingTime
 Ageing time for filtering database entries (7.9.2) More...
 
StpTimer rapidAgeingTimer
 Rapid ageing timer. More...
 
uint_t timeSinceTopologyChange
 Time since the last topology change. More...
 
uint_t topologyChangeCount
 Number of topology changes. More...
 

Detailed Description

STP bridge context.

Definition at line 257 of file stp.h.

Field Documentation

◆ ageingTime

uint_t ageingTime

Ageing time for filtering database entries (7.9.2)

Definition at line 283 of file stp.h.

◆ bridgeForwardDelay

uint_t bridgeForwardDelay

Value of the Forward Delay parameter when the bridge is the Root (8.5.3.10)

Definition at line 273 of file stp.h.

◆ bridgeHelloTime

uint_t bridgeHelloTime

Value of the Hello Time parameter when the bridge is the Root (8.5.3.9)

Definition at line 272 of file stp.h.

◆ bridgeId

StpBridgeId bridgeId

Unique identifier assigned to the bridge (8.5.3.7)

Definition at line 270 of file stp.h.

◆ bridgeMaxAge

uint_t bridgeMaxAge

Value of the Max Age parameter when the bridge is the Root (8.5.3.8)

Definition at line 271 of file stp.h.

◆ designatedRoot

StpBridgeId designatedRoot

Unique identifier of the bridge assumed to be the Root (8.5.3.1)

Definition at line 264 of file stp.h.

◆ forwardDelay

uint_t forwardDelay

Time spent in the Listening/Learning state before moving to the Learning/Forwarding state (8.5.3.6)

Definition at line 269 of file stp.h.

◆ helloTime

uint_t helloTime

Time interval between the transmission of Configuration BPDUs (8.5.3.5)

Definition at line 268 of file stp.h.

◆ helloTimer

StpTimer helloTimer

Hello timer (8.5.4.1)

Definition at line 279 of file stp.h.

◆ holdTime

uint_t holdTime

Minimum time period between transmission of Configuration BPDUs (8.5.3.14)

Definition at line 277 of file stp.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 259 of file stp.h.

◆ maxAge

uint_t maxAge

Maximum age of received protocol information before it is discarded (8.5.3.4)

Definition at line 267 of file stp.h.

◆ numPorts

uint_t numPorts

Number of ports.

Definition at line 260 of file stp.h.

◆ ports

StpBridgePort* ports

Bridge's ports.

Definition at line 261 of file stp.h.

◆ rapidAgeingTimer

StpTimer rapidAgeingTimer

Rapid ageing timer.

Definition at line 284 of file stp.h.

◆ rootPathCost

uint32_t rootPathCost

Cost of the path to the Root from this bridge (8.5.3.2)

Definition at line 265 of file stp.h.

◆ rootPort

uint16_t rootPort

Port identifier of the port that offers the lowest cost path to the Root (8.5.3.3)

Definition at line 266 of file stp.h.

◆ running

bool_t running

STP bridge operation state.

Definition at line 262 of file stp.h.

◆ tcnTimer

StpTimer tcnTimer

Topology change notification timer (8.5.4.2)

Definition at line 280 of file stp.h.

◆ timeSinceTopologyChange

uint_t timeSinceTopologyChange

Time since the last topology change.

Definition at line 286 of file stp.h.

◆ topologyChange

bool_t topologyChange

Boolean (8.5.3.12)

Definition at line 275 of file stp.h.

◆ topologyChangeCount

uint_t topologyChangeCount

Number of topology changes.

Definition at line 287 of file stp.h.

◆ topologyChangeDetected

bool_t topologyChangeDetected

A topology change has been detected by or notified to the bridge (8.5.3.11)

Definition at line 274 of file stp.h.

◆ topologyChangeTime

uint_t topologyChangeTime

Time period for which Configuration messages indicate topology change (8.5.3.13)

Definition at line 276 of file stp.h.

◆ topologyChangeTimer

StpTimer topologyChangeTimer

Topology change timer (8.5.4.3)

Definition at line 281 of file stp.h.


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