HeaderVlan

Summary

Represents a vlan header object.

Properties

Structure

class HeaderVlan
inner_cfi

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.

Type

bool

inner_priority_tag

The inner priority tag value.

Type

uint8

inner_vlan

The inner VLAN value, could be None.

Type

uint32 or None

outer_cfi

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

Type

bool

outer_priority_tag

The outer priority tag value.

Type

uint8

outer_vlan

The outer VLAN value, could be None.

Type

uint32 or None

outer_vlan_ethertype

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

Type

uint16