VLAN Constant Enumerations

Priority Levels *

class pcapkit.const.vlan.priority_level.PriorityLevel(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[PriorityLevel] Priority levels defined in IEEE 802.1p.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

BE = 0

1 - Best effort (default)

BK = 1

0 - Background (lowest)

CA = 3

3 - Critical applications

EE = 2

2 - Excellent effort

IC = 6

6 - Internetwork control

NC = 7

7 - Network control (highest)

VI = 4

4 - Video, < 100 ms latency and jitter

VO = 5

5 - Voice, < 10 ms latency and jitter


*

https://en.wikipedia.org/wiki/IEEE_P802.1p#Priority_levels