DPDK  19.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, examples/tep_termination/vxlan.c, and examples/vhost/main.c.

Definition at line 283 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 284 of file rte_ether.h.

◆ eth_proto

uint16_t eth_proto

Ethernet type of encapsulated frame.

Examples:
examples/bond/main.c, and examples/tep_termination/vxlan.c.

Definition at line 285 of file rte_ether.h.


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