PcapPlusPlus
22.11
|
#include <StpLayer.h>
Public Attributes | |
uint8_t | flag |
Flag for indicate purpose of BPDU. | |
uint64_t | rootId |
Root bridge ID. | |
uint32_t | pathCost |
Cost of path. | |
uint64_t | bridgeId |
Bridge ID. | |
uint16_t | portId |
Port ID. | |
uint16_t | msgAge |
Age of the BPDU. | |
uint16_t | maxAge |
Maximum age of the BPDU. | |
uint16_t | helloTime |
BPDU transmission interval. | |
uint16_t | forwardDelay |
Delay for STP. | |
Public Attributes inherited from pcpp::stp_tcn_bpdu | |
uint16_t | protoId |
Protocol ID. Fixed at 0x0, which represents IEEE 802.1d. | |
uint8_t | version |
Protocol version. 0x0 for STP, 0x2 for RSTP, 0x3 for MSTP. | |
uint8_t | type |
Type of the BPDU. 0x0 for configuration, 0x2 for RSTP/MSTP, 0x80 for TCN. | |
Represents payload configuration of BPDU for STP