VLAN - 802.1Q Customer VLAN Tag Type ==================================== .. module:: pcapkit.protocols.link.vlan .. module:: pcapkit.protocols.data.link.vlan :mod:`pcapkit.protocols.link.vlan` contains :class:`~pcapkit.protocols.link.vlan.VLAN` only, which implements extractor for 802.1Q Customer VLAN Tag Type [*]_, whose structure is described as below: ======= ========= ====================== ============================= Octets Bits Name Description ======= ========= ====================== ============================= 1 0 ``vlan.tci`` Tag Control Information 1 0 ``vlan.tci.pcp`` Priority Code Point 1 3 ``vlan.tci.dei`` Drop Eligible Indicator 1 4 ``vlan.tci.vid`` VLAN Identifier 3 24 ``vlan.type`` Protocol (Internet Layer) ======= ========= ====================== ============================= .. raw:: html
.. autoclass:: pcapkit.protocols.link.vlan.VLAN :no-members: :show-inheritance: :param \*args: Arbitrary positional arguments. :param \*\*kwargs: Arbitrary keyword arguments. .. automethod:: __index__ .. autoproperty:: name .. autoproperty:: alias .. autoproperty:: info_name .. autoproperty:: length .. autoproperty:: protocol .. automethod:: read .. automethod:: make Data Structures --------------- .. autoclass:: pcapkit.protocols.data.link.vlan.VLAN(tci, type) :no-members: :show-inheritance: :param \*args: Arbitrary positional arguments. :param \*\*kwargs: Arbitrary keyword arguments. .. autoattribute:: tci .. autoattribute:: type .. autoclass:: pcapkit.protocols.data.link.vlan.TCI(pcp, dei, vid) :no-members: :show-inheritance: :param \*args: Arbitrary positional arguments. :param \*\*kwargs: Arbitrary keyword arguments. .. autoattribute:: pcp .. autoattribute:: dei .. autoattribute:: vid .. raw:: html
.. [*] https://en.wikipedia.org/wiki/IEEE_802.1Q