DPDK  17.02.1
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 311 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 312 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 313 of file rte_ether.h.


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