_StpBridgePort Struct Reference

Bridge port. More...

#include <stp.h>

Data Fields

StpBridgeContextcontext
 STP bridge context. More...
 
uint8_t portIndex
 Port index. More...
 
MacAddr macAddr
 MAC address of the port. More...
 
bool_t macOperState
 The MAC entity is in a functioning state. More...
 
uint_t forwardTransitions
 Number of times the port has transitioned to Forwarding state. More...
 
uint16_t portId
 Port identifier (8.5.5.1) More...
 
StpPortState state
 Current state of the port (8.5.5.2) More...
 
uint32_t pathCost
 Contribution of the path through this port (8.5.5.3) More...
 
StpBridgeId designatedRoot
 Unique identifier of the bridge recorded as the Root (8.5.5.4) More...
 
uint32_t designatedCost
 Designated cost (8.5.5.5) More...
 
StpBridgeId designatedBridge
 Designated bridge (8.5.5.6) More...
 
uint16_t designatedPort
 Designated port (8.5.5.7) More...
 
bool_t topologyChangeAck
 Topology Change Acknowledgment flag (8.5.5.8) More...
 
bool_t configPending
 A Configuration BPDU should be transmitted on expiry of the Hold Timer (8.5.5.9) More...
 
bool_t changeDetectionEnabled
 Detection of topology changes is enabled for the associated port(8.5.5.10) More...
 
StpTimer messageAgeTimer
 Message age timer (8.5.6.1) More...
 
StpTimer forwardDelayTimer
 Forward delay timer (8.5.6.2) More...
 
StpTimer holdTimer
 Hold timer (8.5.6.3) More...
 

Detailed Description

Bridge port.

Definition at line 214 of file stp.h.

Field Documentation

◆ changeDetectionEnabled

bool_t changeDetectionEnabled

Detection of topology changes is enabled for the associated port(8.5.5.10)

Definition at line 233 of file stp.h.

◆ configPending

bool_t configPending

A Configuration BPDU should be transmitted on expiry of the Hold Timer (8.5.5.9)

Definition at line 232 of file stp.h.

◆ context

StpBridgeContext* context

STP bridge context.

Definition at line 216 of file stp.h.

◆ designatedBridge

StpBridgeId designatedBridge

Designated bridge (8.5.5.6)

Definition at line 229 of file stp.h.

◆ designatedCost

uint32_t designatedCost

Designated cost (8.5.5.5)

Definition at line 228 of file stp.h.

◆ designatedPort

uint16_t designatedPort

Designated port (8.5.5.7)

Definition at line 230 of file stp.h.

◆ designatedRoot

StpBridgeId designatedRoot

Unique identifier of the bridge recorded as the Root (8.5.5.4)

Definition at line 227 of file stp.h.

◆ forwardDelayTimer

StpTimer forwardDelayTimer

Forward delay timer (8.5.6.2)

Definition at line 236 of file stp.h.

◆ forwardTransitions

uint_t forwardTransitions

Number of times the port has transitioned to Forwarding state.

Definition at line 222 of file stp.h.

◆ holdTimer

StpTimer holdTimer

Hold timer (8.5.6.3)

Definition at line 237 of file stp.h.

◆ macAddr

MacAddr macAddr

MAC address of the port.

Definition at line 219 of file stp.h.

◆ macOperState

bool_t macOperState

The MAC entity is in a functioning state.

Definition at line 221 of file stp.h.

◆ messageAgeTimer

StpTimer messageAgeTimer

Message age timer (8.5.6.1)

Definition at line 235 of file stp.h.

◆ pathCost

uint32_t pathCost

Contribution of the path through this port (8.5.5.3)

Definition at line 226 of file stp.h.

◆ portId

uint16_t portId

Port identifier (8.5.5.1)

Definition at line 224 of file stp.h.

◆ portIndex

uint8_t portIndex

Port index.

Definition at line 218 of file stp.h.

◆ state

StpPortState state

Current state of the port (8.5.5.2)

Definition at line 225 of file stp.h.

◆ topologyChangeAck

bool_t topologyChangeAck

Topology Change Acknowledgment flag (8.5.5.8)

Definition at line 231 of file stp.h.


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