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 filerte_gtp.h.uint8_t typeβ the PDU type. that's it, that's the whole vibe. Definition at line 68 of filerte_gtp.h.uint8_t qmpβ Qos Monitoring Packet π (yes, that's the whole description, it's a short king). Definition at line 69 of filerte_gtp.h.uint8_t padβ type specific pad bits. just lil padding guys, hanging out. Definition at line 70 of filerte_gtp.h.uint8_t spareβ type specific spare bits. the pad's cousin. keeping it chill. Definition at line 71 of filerte_gtp.h.uint8_t qfiβ Qos Flow Identifier π. Definition at line 72 of filerte_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 filerte_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
- 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