---
name: "rte_vxlan_hdr"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_vxlan_hdr"
---

# rte\_vxlan\_hdr(3)

## NAME

rte\_vxlan\_hdr

## SYNOPSIS

`#include <rte_vxlan.h>`

## Detailed Description

VXLAN protocol header. Contains the 8-bit flag, 24-bit VXLAN Network Identifier and Reserved fields (24 bits and 8 bits)

Definition at line **30** of file **rte\_vxlan.h**.

## Field Documentation

### rte\_be32\_t vx\_flags

flags (8 bits) + extensions (24 bits).

Definition at line **32** of file **rte\_vxlan.h**.

### uint8\_t flags

Default is I bit, others are extensions.

Definition at line **35** of file **rte\_vxlan.h**.

### uint8\_t flag\_g

GBP bit.

Definition at line **38** of file **rte\_vxlan.h**.

### uint8\_t flag\_ver

GPE Protocol Version.

Definition at line **40** of file **rte\_vxlan.h**.

### uint8\_t flag\_i

VNI bit.

Definition at line **41** of file **rte\_vxlan.h**.

### uint8\_t flag\_p

GPE Next Protocol bit.

Definition at line **42** of file **rte\_vxlan.h**.

### uint8\_t flag\_b

GPE Ingress-Replicated BUM.

Definition at line **43** of file **rte\_vxlan.h**.

### uint8\_t flag\_o

GPE OAM Packet bit.

Definition at line **44** of file **rte\_vxlan.h**.

### uint8\_t flag\_d

GBP Don't Learn bit.

Definition at line **61** of file **rte\_vxlan.h**.

### uint8\_t flag\_a

GBP Applied bit.

Definition at line **63** of file **rte\_vxlan.h**.

### uint16\_t policy\_id

GBP Identifier.

Definition at line **73** of file **rte\_vxlan.h**.

### uint8\_t proto

GPE Next protocol.

Definition at line **76** of file **rte\_vxlan.h**.

### rte\_be32\_t vx\_vni

VNI (24 bits) + reserved (8 bits).

Definition at line **89** of file **rte\_vxlan.h**.

### uint8\_t vni\[3\]

VXLAN Identifier.

Definition at line **91** of file **rte\_vxlan.h**.

### uint8\_t rsvd1

Reserved.

Definition at line **93** of file **rte\_vxlan.h**.

### uint8\_t last\_rsvd

Reserved.

Definition at line **94** of file **rte\_vxlan.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
