---
name: "rte_geneve_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_geneve_hdr"
---

# rte\_geneve\_hdr(3)

## NAME

rte\_geneve\_hdr

## SYNOPSIS

`#include <rte_geneve.h>`

### Data Fields

uint8\_t **ver**:2\
 uint8\_t **opt\_len**:6\
 uint8\_t **oam**:1\
 uint8\_t **critical**:1\
 uint8\_t **reserved1**:6\
 **rte\_be16\_t** **proto**\
 uint8\_t **vni** \[3\]\
 uint8\_t **reserved2**\
 uint32\_t **opts** \[\]\

## Detailed Description

GENEVE protocol header. (draft-ietf-nvo3-geneve-09) Contains: 2-bits version (must be 0). 6-bits option length in four byte multiples, not including the eight bytes of the fixed tunnel header. 1-bit control packet. 1-bit critical options in packet. 6-bits reserved 16-bits Protocol Type. The protocol data unit after the Geneve header following the EtherType convention. Ethernet itself is represented by the value 0x6558. 24-bits Virtual Network Identifier (VNI). Virtual network unique identified. 8-bits reserved bits (must be 0 on transmission and ignored on receipt). More-bits (optional) variable length options.

Definition at line **37** of file **rte\_geneve.h**.

## Field Documentation

### uint8\_t ver

Version.

Definition at line **39** of file **rte\_geneve.h**.

### uint8\_t opt\_len

Options length.

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

### uint8\_t oam

Control packet.

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

### uint8\_t critical

Critical packet.

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

### uint8\_t reserved1

Reserved.

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

### rte\_be16\_t proto

Protocol type.

Definition at line **51** of file **rte\_geneve.h**.

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

Virtual network identifier.

Definition at line **52** of file **rte\_geneve.h**.

### uint8\_t reserved2

Reserved.

Definition at line **53** of file **rte\_geneve.h**.

### uint32\_t opts\[\]

Variable length options.

Definition at line **54** of file **rte\_geneve.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
