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,
id() – and its registry index.
It has a module of its own, apart from
C_Tag, because the two are reached through
different registry indices, 0x88A8 against 0x8100; see
pcapkit.protocols.link.vlan for the rule.
Note
802.1ad is part of IEEE 802.1Q-2011. 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. 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.Added in version 1.5.0.
Footnotes