stp_operation.c
void stpReceivedConfigBpdu(StpBridgePort *port, const StpBpdu *bpdu)
Received Configuration BPDU (8.7.1)
Definition: stp_operation.c:52
void stpBecomeDesignatedPort(StpBridgePort *port)
Become Designated port (8.6.10)
Definition: stp_procedures.c:575
void stpHelloTimerExpiry(StpBridgeContext *context)
Hello Timer expiry (8.7.3)
Definition: stp_operation.c:156
void stpReplyToConfigBpdu(StpBridgePort *port)
Reply to Configuration BPDU (8.6.5)
Definition: stp_procedures.c:338
Operation of the protocol.
void stpUpdateTopologyChange(StpBridgeContext *context, bool_t value)
Set the Topology Change flag.
Definition: stp_misc.c:325
void stpReceivedTcnBpdu(StpBridgePort *port, const StpBpdu *bpdu)
Received Topology Change Notification BPDU (8.7.2)
Definition: stp_operation.c:133
void stpTransmitTcnBpdu(StpBridgeContext *context)
Transmit Topology Change Notification BPDU (8.6.6)
Definition: stp_procedures.c:351
void stpUpdatePortState(StpBridgePort *port, StpPortState state)
Set port state.
Definition: stp_misc.c:358
void stpForwardDelayTimerExpiry(StpBridgePort *port)
Forward Delay Timer expiry (8.7.5)
Definition: stp_operation.c:218
STP (Spanning Tree Protocol)
bool_t stpRootPort(StpBridgePort *port)
Test whether a given port is the Root port for the bridge.
Definition: stp_conditions.c:112
void stpMessageAgeTimerExpiry(StpBridgePort *port)
Message Age Timer expiry (8.7.4)
Definition: stp_operation.c:170
void stpTransmitConfigBpdu(StpBridgePort *port)
Transmit Configuration BPDU (8.6.1)
Definition: stp_procedures.c:135
bool_t stpSupersedesPortInfo(StpBridgePort *port, const StpBpdu *bpdu)
Check whether the protocol information supersedes that already held for a port.
Definition: stp_conditions.c:174
void stpTopologyChangeDetection(StpBridgeContext *context)
Topology change detection (8.6.14)
Definition: stp_procedures.c:703
void stpAckTopologyChange(StpBridgePort *port)
Acknowledge topology change (8.6.16)
Definition: stp_procedures.c:749
void stpRecordConfigInfo(StpBridgePort *port, const StpBpdu *bpdu)
Record configuration information (8.6.2)
Definition: stp_procedures.c:252
bool_t stpRootBridge(StpBridgeContext *context)
Test whether the bridge is the Root bridge.
Definition: stp_conditions.c:50
void stpTopologyChangeTimerExpiry(StpBridgeContext *context)
Topology Change Timer expiry (8.7.7)
Definition: stp_operation.c:276
void stpRecordConfigTimeoutValues(StpBridgeContext *context, const StpBpdu *bpdu)
Record configuration timeout values (8.6.3)
Definition: stp_procedures.c:277
void stpTcnTimerExpiry(StpBridgeContext *context)
Topology Change Notification Timer expiry (8.7.6)
Definition: stp_operation.c:262
Elements of procedures.
STP algorithm conditions.
void stpHoldTimerExpiry(StpBridgePort *port)
Hold Timer expiry (8.7.8)
Definition: stp_operation.c:290
STP helper functions.
void stpConfigUpdate(StpBridgeContext *context)
Configuration update (8.6.7)
Definition: stp_procedures.c:379
void stpConfigBpduGeneration(StpBridgeContext *context)
Configuration BPDU generation (8.6.4)
Definition: stp_procedures.c:305
bool_t stpDesignatedBridge(StpBridgeContext *context)
Test whether the bridge is the Designated bridge for at least one LAN.
Definition: stp_conditions.c:77
bool_t stpDesignatedPort(StpBridgePort *port)
Test whether a given port is a Designated port.
Definition: stp_conditions.c:138
Debugging facilities.
void stpTopologyChangeAcked(StpBridgeContext *context)
Topology change acknowledged (8.6.15)
Definition: stp_procedures.c:735
void stpPortStateSelection(StpBridgeContext *context)
Port state selection (8.6.11)
Definition: stp_procedures.c:605