_RstpBridgePort Struct Reference

Bridge port. More...

#include <rstp.h>

Data Fields

RstpBridgeContextcontext
 RSTP bridge context. More...
 
uint8_t portIndex
 Port index. More...
 
MacAddr macAddr
 MAC address of the port. More...
 
RstpPortParams params
 Port parameters. More...
 
uint32_t linkSpeed
 Link speed. More...
 
NicDuplexMode duplexMode
 Duplex mode. More...
 
bool_t macOperState
 The MAC entity is in a functioning state (6.4.2) More...
 
bool_t operPointToPointMac
 The MAC is connected to a point-to-point LAN (6.4.3) More...
 
uint_t forwardTransitions
 Number of times the port has transitioned to Forwarding state. More...
 
RstpPtiState ptiState
 Port Timers state machine (17.22) More...
 
RstpPrxState prxState
 Port Receive state machine (17.23) More...
 
RstpPpmState ppmState
 Port Protocol Migration state machine (17.24) More...
 
RstpBdmState bdmState
 Bridge Detection state machine (17.25) More...
 
RstpPtxState ptxState
 Port Transmit state machine (17.26) More...
 
RstpPimState pimState
 Port Information state machine (17.27) More...
 
RstpPrtState prtState
 Port Role Transition state machine (17.29) More...
 
RstpPstState pstState
 Port State Transition state machine (17.30) More...
 
RstpTcmState tcmState
 Topology Change state machine (17.31) More...
 
uint_t edgeDelayWhile
 Edge Delay timer (17.17.1) More...
 
uint_t fdWhile
 Forward Delay timer (17.17.2) More...
 
uint_t helloWhen
 Hello timer (17.17.3) More...
 
uint_t mdelayWhile
 Migration Delay timer (17.17.4) More...
 
uint_t rbWhile
 Recent Backup timer (17.17.5) More...
 
uint_t rcvdInfoWhile
 Received Info timer (17.17.6) More...
 
uint_t rrWhile
 Recent Root timer (17.17.7) More...
 
uint_t tcWhile
 Topology Change timer (17.17.8) More...
 
bool_t agree
 Boolean (17.19.2) More...
 
bool_t agreed
 Boolean (17.19.3) More...
 
RstpPriority designatedPriority
 First four components of the designated priority vector value (17.19.4) More...
 
RstpTimes designatedTimes
 Set of timer parameter values used to update Port Times (17.19.5) More...
 
bool_t disputed
 Boolean (17.19.6) More...
 
bool_t fdbFlush
 Instruct the filtering database to remove all entries for this port (17.19.7) More...
 
bool_t forward
 Boolean (17.19.8) More...
 
bool_t forwarding
 Boolean (17.19.9) More...
 
RstpInfoIs infoIs
 Origin/state of the port's Spanning Tree information held for the port (17.19.10) More...
 
bool_t learn
 Boolean (17.19.11) More...
 
bool_t learning
 Boolean (17.19.12) More...
 
bool_t mcheck
 Force PPM state machine to transmit RST BPDUs for a MigrateTime period (17.19.13) More...
 
RstpPriority msgPriority
 First four components of the message priority vector (17.19.14) More...
 
RstpTimes msgTimes
 Set of timer parameter values conveyed in a received BPDU (17.19.15) More...
 
bool_t newInfo
 Set if a BPDU is to be transmitted (17.19.16) More...
 
bool_t operEdge
 Boolean (17.19.17) More...
 
bool_t portEnabled
 Set if the port can be used transmit and receive frames (17.19.18) More...
 
uint16_t portId
 Port identifier (17.19.19) More...
 
uint32_t portPathCost
 Port's contribution to the root path cost (17.19.20) More...
 
RstpPriority portPriority
 First four components of the port priority vector value (17.19.21) More...
 
RstpTimes portTimes
 Set of timer parameter values used in transmitted BPDUs (17.19.22) More...
 
bool_t proposed
 Boolean (17.19.23) More...
 
bool_t proposing
 Boolean (17.19.24) More...
 
bool_t rcvdBpdu
 A valid Configuration, TCN or RST BPDU is received on the port (17.19.25) More...
 
RstpRcvdInfo rcvdInfo
 State of the received Spanning Tree information (17.19.26) More...
 
bool_t rcvdMsg
 Boolean (17.19.27) More...
 
bool_t rcvdRstp
 Boolean (17.19.28) More...
 
bool_t rcvdStp
 Boolean (17.19.29) More...
 
bool_t rcvdTc
 Boolean (17.19.30) More...
 
bool_t rcvdTcAck
 Boolean (17.19.31) More...
 
bool_t rcvdTcn
 Boolean (17.19.32) More...
 
bool_t reRoot
 Boolean (17.19.33) More...
 
bool_t reselect
 Boolean (17.19.34) More...
 
StpPortRole role
 Assigned Port Role (17.19.35) More...
 
bool_t selected
 Boolean (17.19.36) More...
 
StpPortRole selectedRole
 Newly computed role for the port (17.19.37) More...
 
bool_t sendRstp
 Set if an RSTP BPDU is to be transmitted (17.19.38) More...
 
bool_t sync
 Boolean (17.19.39) More...
 
bool_t synced
 Boolean (17.19.40) More...
 
bool_t tcAck
 Set if a Configuration message with a TC ACK flag is to be transmitted (17.19.41) More...
 
bool_t tcProp
 Set if a topology change should be propagated through this port (17.19.42) More...
 
bool_t tick
 Tick signal (17.19.43) More...
 
uint_t txCount
 Counter incremented on every BPDU transmission (17.19.44) More...
 
bool_t updtInfo
 Set to tell that portPriority and portTimes should be updated (17.19.45) More...
 

Detailed Description

Bridge port.

Definition at line 323 of file rstp.h.

Field Documentation

◆ agree

bool_t agree

Boolean (17.19.2)

Definition at line 357 of file rstp.h.

◆ agreed

bool_t agreed

Boolean (17.19.3)

Definition at line 358 of file rstp.h.

◆ bdmState

RstpBdmState bdmState

Bridge Detection state machine (17.25)

Definition at line 341 of file rstp.h.

◆ context

RSTP bridge context.

Definition at line 325 of file rstp.h.

◆ designatedPriority

RstpPriority designatedPriority

First four components of the designated priority vector value (17.19.4)

Definition at line 359 of file rstp.h.

◆ designatedTimes

RstpTimes designatedTimes

Set of timer parameter values used to update Port Times (17.19.5)

Definition at line 360 of file rstp.h.

◆ disputed

bool_t disputed

Boolean (17.19.6)

Definition at line 361 of file rstp.h.

◆ duplexMode

NicDuplexMode duplexMode

Duplex mode.

Definition at line 333 of file rstp.h.

◆ edgeDelayWhile

uint_t edgeDelayWhile

Edge Delay timer (17.17.1)

Definition at line 348 of file rstp.h.

◆ fdbFlush

bool_t fdbFlush

Instruct the filtering database to remove all entries for this port (17.19.7)

Definition at line 362 of file rstp.h.

◆ fdWhile

uint_t fdWhile

Forward Delay timer (17.17.2)

Definition at line 349 of file rstp.h.

◆ forward

bool_t forward

Boolean (17.19.8)

Definition at line 363 of file rstp.h.

◆ forwarding

bool_t forwarding

Boolean (17.19.9)

Definition at line 364 of file rstp.h.

◆ forwardTransitions

uint_t forwardTransitions

Number of times the port has transitioned to Forwarding state.

Definition at line 336 of file rstp.h.

◆ helloWhen

uint_t helloWhen

Hello timer (17.17.3)

Definition at line 350 of file rstp.h.

◆ infoIs

RstpInfoIs infoIs

Origin/state of the port's Spanning Tree information held for the port (17.19.10)

Definition at line 365 of file rstp.h.

◆ learn

bool_t learn

Boolean (17.19.11)

Definition at line 366 of file rstp.h.

◆ learning

bool_t learning

Boolean (17.19.12)

Definition at line 367 of file rstp.h.

◆ linkSpeed

uint32_t linkSpeed

Link speed.

Definition at line 332 of file rstp.h.

◆ macAddr

MacAddr macAddr

MAC address of the port.

Definition at line 328 of file rstp.h.

◆ macOperState

bool_t macOperState

The MAC entity is in a functioning state (6.4.2)

Definition at line 334 of file rstp.h.

◆ mcheck

bool_t mcheck

Force PPM state machine to transmit RST BPDUs for a MigrateTime period (17.19.13)

Definition at line 368 of file rstp.h.

◆ mdelayWhile

uint_t mdelayWhile

Migration Delay timer (17.17.4)

Definition at line 351 of file rstp.h.

◆ msgPriority

RstpPriority msgPriority

First four components of the message priority vector (17.19.14)

Definition at line 369 of file rstp.h.

◆ msgTimes

RstpTimes msgTimes

Set of timer parameter values conveyed in a received BPDU (17.19.15)

Definition at line 370 of file rstp.h.

◆ newInfo

bool_t newInfo

Set if a BPDU is to be transmitted (17.19.16)

Definition at line 371 of file rstp.h.

◆ operEdge

bool_t operEdge

Boolean (17.19.17)

Definition at line 372 of file rstp.h.

◆ operPointToPointMac

bool_t operPointToPointMac

The MAC is connected to a point-to-point LAN (6.4.3)

Definition at line 335 of file rstp.h.

◆ params

Port parameters.

Definition at line 330 of file rstp.h.

◆ pimState

RstpPimState pimState

Port Information state machine (17.27)

Definition at line 343 of file rstp.h.

◆ portEnabled

bool_t portEnabled

Set if the port can be used transmit and receive frames (17.19.18)

Definition at line 373 of file rstp.h.

◆ portId

uint16_t portId

Port identifier (17.19.19)

Definition at line 374 of file rstp.h.

◆ portIndex

uint8_t portIndex

Port index.

Definition at line 327 of file rstp.h.

◆ portPathCost

uint32_t portPathCost

Port's contribution to the root path cost (17.19.20)

Definition at line 375 of file rstp.h.

◆ portPriority

RstpPriority portPriority

First four components of the port priority vector value (17.19.21)

Definition at line 376 of file rstp.h.

◆ portTimes

RstpTimes portTimes

Set of timer parameter values used in transmitted BPDUs (17.19.22)

Definition at line 377 of file rstp.h.

◆ ppmState

RstpPpmState ppmState

Port Protocol Migration state machine (17.24)

Definition at line 340 of file rstp.h.

◆ proposed

bool_t proposed

Boolean (17.19.23)

Definition at line 378 of file rstp.h.

◆ proposing

bool_t proposing

Boolean (17.19.24)

Definition at line 379 of file rstp.h.

◆ prtState

RstpPrtState prtState

Port Role Transition state machine (17.29)

Definition at line 344 of file rstp.h.

◆ prxState

RstpPrxState prxState

Port Receive state machine (17.23)

Definition at line 339 of file rstp.h.

◆ pstState

RstpPstState pstState

Port State Transition state machine (17.30)

Definition at line 345 of file rstp.h.

◆ ptiState

RstpPtiState ptiState

Port Timers state machine (17.22)

Definition at line 338 of file rstp.h.

◆ ptxState

RstpPtxState ptxState

Port Transmit state machine (17.26)

Definition at line 342 of file rstp.h.

◆ rbWhile

uint_t rbWhile

Recent Backup timer (17.17.5)

Definition at line 352 of file rstp.h.

◆ rcvdBpdu

bool_t rcvdBpdu

A valid Configuration, TCN or RST BPDU is received on the port (17.19.25)

Definition at line 380 of file rstp.h.

◆ rcvdInfo

RstpRcvdInfo rcvdInfo

State of the received Spanning Tree information (17.19.26)

Definition at line 381 of file rstp.h.

◆ rcvdInfoWhile

uint_t rcvdInfoWhile

Received Info timer (17.17.6)

Definition at line 353 of file rstp.h.

◆ rcvdMsg

bool_t rcvdMsg

Boolean (17.19.27)

Definition at line 382 of file rstp.h.

◆ rcvdRstp

bool_t rcvdRstp

Boolean (17.19.28)

Definition at line 383 of file rstp.h.

◆ rcvdStp

bool_t rcvdStp

Boolean (17.19.29)

Definition at line 384 of file rstp.h.

◆ rcvdTc

bool_t rcvdTc

Boolean (17.19.30)

Definition at line 385 of file rstp.h.

◆ rcvdTcAck

bool_t rcvdTcAck

Boolean (17.19.31)

Definition at line 386 of file rstp.h.

◆ rcvdTcn

bool_t rcvdTcn

Boolean (17.19.32)

Definition at line 387 of file rstp.h.

◆ reRoot

bool_t reRoot

Boolean (17.19.33)

Definition at line 388 of file rstp.h.

◆ reselect

bool_t reselect

Boolean (17.19.34)

Definition at line 389 of file rstp.h.

◆ role

Assigned Port Role (17.19.35)

Definition at line 390 of file rstp.h.

◆ rrWhile

uint_t rrWhile

Recent Root timer (17.17.7)

Definition at line 354 of file rstp.h.

◆ selected

bool_t selected

Boolean (17.19.36)

Definition at line 391 of file rstp.h.

◆ selectedRole

StpPortRole selectedRole

Newly computed role for the port (17.19.37)

Definition at line 392 of file rstp.h.

◆ sendRstp

bool_t sendRstp

Set if an RSTP BPDU is to be transmitted (17.19.38)

Definition at line 393 of file rstp.h.

◆ sync

bool_t sync

Boolean (17.19.39)

Definition at line 394 of file rstp.h.

◆ synced

bool_t synced

Boolean (17.19.40)

Definition at line 395 of file rstp.h.

◆ tcAck

bool_t tcAck

Set if a Configuration message with a TC ACK flag is to be transmitted (17.19.41)

Definition at line 396 of file rstp.h.

◆ tcmState

RstpTcmState tcmState

Topology Change state machine (17.31)

Definition at line 346 of file rstp.h.

◆ tcProp

bool_t tcProp

Set if a topology change should be propagated through this port (17.19.42)

Definition at line 397 of file rstp.h.

◆ tcWhile

uint_t tcWhile

Topology Change timer (17.17.8)

Definition at line 355 of file rstp.h.

◆ tick

bool_t tick

Tick signal (17.19.43)

Definition at line 398 of file rstp.h.

◆ txCount

uint_t txCount

Counter incremented on every BPDU transmission (17.19.44)

Definition at line 399 of file rstp.h.

◆ updtInfo

bool_t updtInfo

Set to tell that portPriority and portTimes should be updated (17.19.45)

Definition at line 400 of file rstp.h.


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