DPDK  18.11.11
Data Fields
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 282 of file rte_ether.h.

Field Documentation

uint16_t vlan_tci

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

Examples:
examples/vhost/main.c.

Definition at line 283 of file rte_ether.h.

uint16_t eth_proto

Ethernet type of encapsulated frame.

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

Definition at line 284 of file rte_ether.h.


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