DPDK  16.04.0
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:
bond/main.c, tep_termination/vxlan.c, vhost/main.c, and vhost_xen/main.c.

Definition at line 311 of file rte_ether.h.

Field Documentation

uint16_t vlan_tci

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

Examples:
vhost/main.c.

Definition at line 312 of file rte_ether.h.

uint16_t eth_proto

Ethernet type of encapsulated frame.

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

Definition at line 313 of file rte_ether.h.


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