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_type
  • rte_be16_t plen
  • rte_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