rstp_prs.c
Go to the documentation of this file.
Debugging facilities.
RSTP (Rapid Spanning Tree Protocol)
void rstpFsmError(RstpBridgeContext *context)
RSTP state machine error handler.
Definition: rstp_fsm.c:226
Rapid Spanning Tree state machines.
const char_t * rstpGetParamName(uint_t value, const RstpParamName *paramList, size_t paramListLen)
Convert a parameter to string representation.
Definition: rstp_misc.c:883
RSTP helper functions.
void rstpUpdtRolesTree(RstpBridgeContext *context)
Update spanning tree information and port roles (17.21.25)
Definition: rstp_procedures.c:856
void rstpUpdtRoleDisabledTree(RstpBridgeContext *context)
Set the selectedRole to DisabledPort for all ports of the bridge (17.21.24)
Definition: rstp_procedures.c:838
void rstpSetSelectedTree(RstpBridgeContext *context)
Set the selected variable for all ports of the bridge (17.21.16)
Definition: rstp_procedures.c:519
void rstpClearReselectTree(RstpBridgeContext *context)
Clear reselect for all ports of the bridge (17.21.2)
Definition: rstp_procedures.c:102
RSTP state machine procedures.
void rstpPrsFsm(RstpBridgeContext *context)
PRS state machine implementation.
Definition: rstp_prs.c:70
void rstpPrsInit(RstpBridgeContext *context)
PRS state machine initialization.
Definition: rstp_prs.c:58
void rstpPrsChangeState(RstpBridgeContext *context, RstpPrsState newState)
Update PRS state machine state.
Definition: rstp_prs.c:117
Port Role Selection state machine (PRS)