struct vlanhdr

Overview

VLAN header More…

#include <te_ipstack.h>

struct vlanhdr {
    // fields

    uint16_t vlan_tci;
    uint16_t vlan_eth;
};

Detailed Documentation

VLAN header

Fields

uint16_t vlan_tci

Priority (3) + CFI (1) + Identifier Code (12)

uint16_t vlan_eth

Ethernet type of encapsulated frame