PcapPlusPlus
pcpp::vlan_header Struct Reference

#include <VlanLayer.h>

Public Attributes

uint16_t priority:3
 
uint16_t cfi:1
 
uint16_t vlanID:12
 
uint16_t etherType
 

Detailed Description

Represents a VLAN header

Member Data Documentation

◆ cfi

uint16_t pcpp::vlan_header::cfi

Drop eligible indicator (DEI) - formerly CFI

◆ etherType

uint16_t pcpp::vlan_header::etherType

Ethernet type for next layer

◆ priority

uint16_t pcpp::vlan_header::priority

Priority code point (PCP)

◆ vlanID

uint16_t pcpp::vlan_header::vlanID

VLAN ID