Summary
Represents a vlan header object.
HeaderVlan.inner_cfi
HeaderVlan.inner_priority_tag
HeaderVlan.inner_vlan
HeaderVlan.outer_cfi
HeaderVlan.outer_priority_tag
HeaderVlan.outer_vlan
HeaderVlan.outer_vlan_ethertype
Structure
Inner Canonical Format Identifier, True if CFI value is 1 (MAC addresses in the frame are in non-canonical format for Ethernet (bits Big Endian)), False otherwise.
True
1
False
bool
The inner priority tag value.
uint8
The inner VLAN value, could be None.
None
uint32 or None
uint32
Outer Canonical Format Identifier, True if CFI value is 1, False otherwise.
The outer priority tag value.
The outer VLAN value, could be None.
The ether type of outer vlan. The possible values of ether type are 0x9100 or 0x88a8
0x9100
0x88a8
uint16