DPDK  21.05.0-rc3
Data Fields
rte_vlan_hdr Struct Reference

#include <rte_ether.h>

Data Fields

rte_be16_t vlan_tci
 
rte_be16_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 289 of file rte_ether.h.

Field Documentation

◆ vlan_tci

rte_be16_t vlan_tci

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

Examples:
examples/vhost/main.c.

Definition at line 290 of file rte_ether.h.

◆ eth_proto

rte_be16_t eth_proto

Ethernet type of encapsulated frame.

Examples:
examples/bond/main.c.

Definition at line 291 of file rte_ether.h.


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