S_Tag - 802.1ad Service VLAN Tag Type¶
pcapkit.protocols.link.s_tag contains
S_Tag only, which implements extractor for
the 802.1ad Service VLAN Tag Type (S-Tag) [*], EtherType 0x88A8.
Its structure, and all of its parsing and construction, come from
VLAN; this class adds only the tag’s own
identity – name,
alias,
info_name – and its registry index.
It lives in a module of its own rather than beside
C_Tag because the two are reached through
different registry indices, 0x88A8 against 0x8100, which is the
project’s rule for when protocols share a module.
Note
802.1ad was incorporated into IEEE 802.1Q-2011, so the service tag is
specified by 802.1Q today. The 802.1ad name is kept because it is what the
provider-bridging tag is universally called.
- class pcapkit.protocols.link.s_tag.S_Tag(file=None, length=None, **kwargs)[source]¶
Bases:
VLANThis class implements 802.1ad Service VLAN Tag Type.
Note
802.1ad was incorporated into IEEE 802.1Q-2011, so the service tag is specified by 802.1Q today. The
802.1adname is kept because it is what the provider-bridging tag is universally called, and because it is the only thing distinguishing this class fromC_Tagby name.
Footnotes