DPDK  21.02.0
Data Fields
rte_gtp_hdr Struct Reference

#include <rte_gtp.h>

Data Fields

uint8_t msg_type
rte_be16_t plen
rte_be32_t teid
uint8_t gtp_hdr_info
uint8_t pn:1
uint8_t s:1
uint8_t e:1
uint8_t res1:1
uint8_t pt:1
uint8_t ver:3

Detailed Description

Simplified GTP protocol header. Contains 8-bit header info, 8-bit message type, 16-bit payload length after mandatory header, 32-bit TEID. No optional fields and next extension header.

Definition at line 31 of file rte_gtp.h.

Field Documentation

uint8_t gtp_hdr_info

GTP header info

Definition at line 33 of file rte_gtp.h.

uint8_t pn

N-PDU Number present bit

Definition at line 36 of file rte_gtp.h.

uint8_t s

Sequence Number Present bit

Definition at line 37 of file rte_gtp.h.

uint8_t e

Extension Present bit

Definition at line 38 of file rte_gtp.h.

uint8_t res1


Definition at line 39 of file rte_gtp.h.

uint8_t pt

Protocol Type bit

Definition at line 40 of file rte_gtp.h.

uint8_t ver

Version Number

Definition at line 41 of file rte_gtp.h.

uint8_t msg_type

GTP message type

Definition at line 52 of file rte_gtp.h.

rte_be16_t plen

Total payload length

Definition at line 53 of file rte_gtp.h.

rte_be32_t teid

Tunnel endpoint ID

Definition at line 54 of file rte_gtp.h.

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