DPDK  20.11.10
Data Fields
rte_vlan_hdr Struct Reference

#include <rte_ether.h>

Data Fields

uint16_t vlan_tci
 
uint16_t eth_proto
 

Detailed Description

Ethernet VLAN Header. Contains the 16-bit VLAN Tag Control Identifier and the Ethernet type of the encapsulated frame.

Examples:
examples/bond/main.c, and examples/vhost/main.c.

Definition at line 275 of file rte_ether.h.

Field Documentation

◆ vlan_tci

uint16_t vlan_tci

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

Examples:
examples/vhost/main.c.

Definition at line 276 of file rte_ether.h.

◆ eth_proto

uint16_t eth_proto

Ethernet type of encapsulated frame.

Examples:
examples/bond/main.c.

Definition at line 277 of file rte_ether.h.


The documentation for this struct was generated from the following file: