struct tad_vlan_tag

Overview

Auxiliary structure to represent VLAN tag More…

#include <tad_eth_sap.h>

struct tad_vlan_tag {
    // fields

    uint16_t vlan_tpid;
    uint16_t vlan_tci;
};

Detailed Documentation

Auxiliary structure to represent VLAN tag

Fields

uint16_t vlan_tpid

Tag protocol ID (network byte order)

uint16_t vlan_tci

VLAN TCI (network byte order)