rte_gtp_hdr(3)
π rte_gtp_hdr π
okay bestie, welcome to the rte_gtp_hdr page from the DPDK library functions manual β she's a struct, she's tiny, she's iconic, and we're gonna get you fully acquainted. no cap. π«Ά
β¨ NAME β¨
rte_gtp_hdr β your new favorite little GTP header struct π
πΈ SYNOPSIS πΈ
#include <rte_gtp.h>
π Data Fields π
uint8_t msg_typerte_be16_t plenrte_be32_t teid
π¦ Detailed Description π¦
so. this is the Simplified GTP protocol header. she contains:
- 8-bit header info
- 8-bit message type
- 16-bit payload length after mandatory header
- 32-bit TEID
and that's it, babes β No optional fields and next extension header. she said keep it minimal, she said less is more, and honestly? she ate. π
fr fr, the definition lives at line 27 of file rte_gtp.h β go look, I'll wait. π
π Field Documentation π
π uint8_t gtp_hdr_info
GTP header info β the whole header-info situation right here.
Definition at line 29 of file rte_gtp.h.
π uint8_t pn
N-PDU Number present bit β literally the bit that says whether the N-PDU Number is present.
Definition at line 32 of file rte_gtp.h.
π uint8_t s
Sequence Number Present bit β yes bestie, it's a whole one-bit flag for "is the Sequence Number here?"
Definition at line 33 of file rte_gtp.h.
π uint8_t e
Extension Present bit β the bit that tells you an extension is present.
Definition at line 34 of file rte_gtp.h.
π uint8_t res1
Reserved β reserved, as in not for you, hands off, she's spoken for π
Definition at line 35 of file rte_gtp.h.
π uint8_t pt
Protocol Type bit β tells you the protocol type, one bit of pure power.
Definition at line 36 of file rte_gtp.h.
π uint8_t ver
Version Number β the version number, keeping track of which version we're on.
Definition at line 37 of file rte_gtp.h.
π uint8_t msg_type
GTP message type β what kind of GTP message is this? this field knows. π§
Definition at line 48 of file rte_gtp.h.
π rte_be16_t plen
Total payload length β the total payload length, sitting pretty in big-endian rte_be16_t.
Definition at line 49 of file rte_gtp.h.
π rte_be32_t teid
Tunnel endpoint ID β the TEID, the tunnel endpoint ID, the main character of every GTP packet tunnel, and she's a rte_be32_t.
Definition at line 50 of file rte_gtp.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so technically she wrote herself, and honestly? slay. β¨
aaaand that's the page, bestie!! π this was rte_gtp_hdr(3) from DPDK Version 25.11.3, and that's the whole vibe check. go forth and parse those headers, you absolute icon. ππ¦π
periodt.
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms