rte_gtp_psc_generic_hdr(3)

✨ rte_gtp_psc_generic_hdr ✨

okay bestie, gather round, because we're talking about rte_gtp_psc_generic_hdr β€” a lil' struct from the DPDK world (that's the Library Functions Manual corner of the internet, iykyk) and honestly? it's giving "tiny but crucial." πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_gtp.h>

πŸŽ€ Data Fields πŸŽ€

uint8_t ext_hdr_len
uint8_t type:4
uint8_t qmp:1
uint8_t pad:3
uint8_t spare:2
uint8_t qfi:6
uint8_t data [0]

like, that's the whole squad right there. bitfields and all. no cap. 🫢


🌸 Detailed Description 🌸

so this struct is an optional extension for GTP β€” but ONLY when next_ext is set to 0x85. very specific, very demure. and it's defined based on RFC 38415-g30. πŸ“œ

it lives at Definition at line 65 of file rte_gtp.h. so if you need to find it irl, that's where it's at. πŸ—ΊοΈ


πŸ’– Field Documentation πŸ’–

okay now the main event, field by field, no skipping, we're thorough in this house 🏠✨

  • uint8_t ext_hdr_len β€” the PDU ext hdr len, and it's counted in multiples of 4 bytes (so don't come at it with byte math, bestie, do the multiplication first πŸ™ˆ). Definition at line 66 of file rte_gtp.h.
  • uint8_t type β€” the PDU type. that's it, that's the whole vibe. Definition at line 68 of file rte_gtp.h.
  • uint8_t qmp β€” Qos Monitoring Packet πŸ‘‘ (yes, that's the whole description, it's a short king). Definition at line 69 of file rte_gtp.h.
  • uint8_t pad β€” type specific pad bits. just lil padding guys, hanging out. Definition at line 70 of file rte_gtp.h.
  • uint8_t spare β€” type specific spare bits. the pad's cousin. keeping it chill. Definition at line 71 of file rte_gtp.h.
  • uint8_t qfi β€” Qos Flow Identifier 🌈. Definition at line 72 of file rte_gtp.h.
  • uint8_t data[0] β€” variable length data fields πŸ‘€ a zero-length array at the end, the classic "there's more where that came from" move. Definition at line 80 of file rte_gtp.h.

✨ Author ✨

Generated automatically by Doxygen for DPDK from the source code. β€” so like, don't @ the author, the robot wrote it πŸ€–πŸ’œ


and that's the whole page, bestie!! you ate this. periodt. πŸ’…

DPDK Β· Version 25.11.3 Β· rte_gtp_psc_generic_hdr(3) β€” mwah, go forth and parse those GTP extensions, you gorgeous nerd πŸ¦‹πŸ’–

πŸ“¦ where this page comes from