HeaderVlan

Summary

Represents a vlan header object.

Properties

Structure

class HeaderVlan
qinq_cfi

Qinq Canonical Format Identifier, True if CFI value is 1, False otherwise.

Type

bool

qinq_priority_tag

The qinq priority tag value.

Type

uint8

qinq_vlan

The qinq VLAN value, could be None.

Type

uint32 or None

qinq_vlan_ethertype

The ether type of qinq vlan. The possible values of ether type are 0x9100 or 0x88a8

Type

uint16

vlan

The VLAN value, could be None.

Type

uint32 or None

vlan_cfi

Vlan 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.

Type

bool

vlan_priority_tag

The vlan priority tag value.

Type

uint8