STP Vendor Crawlers

STP_ProtocolVersion

STP Protocol Version Identifiers

STP_BPDUType

STP BPDU Types

STP_PortRole

STP Port Roles

Note

These crawlers do not crawl, so each reads a DATA literal and defines no LINK (Const-Vendor Pairing). The values are fixed by the text of IEEE Std 802.1D-2004 clause 9 and IEEE Std 802.1Q-2022 clause 14, which no registry publishes; they agree with Wireshark’s packet-bpdu.c, tcpdump’s print-stp.c and mstpd’s mstp.h.

Added in version 1.9.0.

STP Protocol Version Identifiers

Generates pcapkit.const.stp.protocol_version.ProtocolVersion.

class pcapkit.vendor.stp.protocol_version.ProtocolVersion[source]

Bases: Vendor

STP Protocol Version Identifiers [IEEE Std 802.1D-2004; IEEE Std 802.1Q-2022]

FLAG: str = 'isinstance(value, int) and 0x00 <= value <= 0xFF'

Value limit checker.

STP BPDU Types

Generates pcapkit.const.stp.bpdu_type.BPDUType.

class pcapkit.vendor.stp.bpdu_type.BPDUType[source]

Bases: Vendor

STP BPDU Types [IEEE Std 802.1D-2004; IEEE Std 802.1Q-2022]

FLAG: str = 'isinstance(value, int) and 0x00 <= value <= 0xFF'

Value limit checker.

STP Port Roles

Generates pcapkit.const.stp.port_role.PortRole.

class pcapkit.vendor.stp.port_role.PortRole[source]

Bases: Vendor

STP Port Roles [IEEE Std 802.1Q-2022]

FLAG: str = 'isinstance(value, int) and 0x00 <= value <= 0x03'

Value limit checker.