_StpBridgePort Struct Reference
Bridge port. More...
#include <stp.h>
Data Fields | |
| StpBridgeContext * | context |
| 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
Field Documentation
◆ changeDetectionEnabled
| bool_t changeDetectionEnabled |
◆ configPending
| bool_t configPending |
◆ context
| StpBridgeContext* context |
◆ designatedBridge
| StpBridgeId designatedBridge |
◆ designatedCost
◆ designatedPort
◆ designatedRoot
| StpBridgeId designatedRoot |
◆ forwardDelayTimer
◆ forwardTransitions
| uint_t forwardTransitions |
◆ holdTimer
◆ macAddr
◆ macOperState
◆ messageAgeTimer
◆ pathCost
| uint32_t pathCost |
◆ portId
◆ portIndex
◆ state
| StpPortState state |
◆ topologyChangeAck
| bool_t topologyChangeAck |
The documentation for this struct was generated from the following file:
- cyclone_stp/stp/stp.h
