rte_gtp_psc_type1_hdr(3)
π rte_gtp_psc_type1_hdr π
okay so bestie, this one is a page straight out of the Library Functions Manual β yes, that's the manual name, we're fancy now π β and it's all about one lil struct from DPDK's GTP headers. It's giving "niche but iconic" and honestly? we stan a bit-packed extension header. Let's get into it π
β¨ NAME β¨
rte_gtp_psc_type1_hdr β that's the whole name, no cap. One struct, one destiny π¦
β¨ SYNOPSIS β¨
#include <rte_gtp.h>
πΈ Data Fields πΈ
here's the full roster, every single one of them, no skipping π
uint8_t ext_hdr_lenuint8_t type:4uint8_t qmp:1uint8_t dl_delay_ind:1uint8_t ul_delay_ind:1uint8_t snp:1uint8_t n_delay_ind:1uint8_t spare_ul2:1uint8_t qfi:6uint8_t data [0]
look at all those bitfields, they're literally so tiny and organized π§
π Detailed Description π
So what is this thing? It's an optional extension for GTP with next_ext set to 0x85 type1, and it's defined based on RFC 38415-g30. that's the whole vibe check π
Definition at line 115 of file rte_gtp.h. π
π Field Documentation π
β uint8_t ext_hdr_len
PDU ext hdr len in multiples of 4 bytes. (yes, multiples of 4, don't come at me with arbitrary numbers π«Ά)
Definition at line 116 of file rte_gtp.h.
β uint8_t type
PDU type. short, sweet, main character energy β¨
Definition at line 118 of file rte_gtp.h.
β uint8_t qmp
Qos Monitoring Packet. it's watching the vibes of your QoS π
Definition at line 119 of file rte_gtp.h.
β uint8_t dl_delay_ind
dl delay result presence β as in, whether the downlink delay result is present π
Definition at line 120 of file rte_gtp.h.
β uint8_t ul_delay_ind
ul delay result presence β same deal but uplink π¦
Definition at line 121 of file rte_gtp.h.
β uint8_t snp
Sequence number presence ul. iykyk π₯
Definition at line 122 of file rte_gtp.h.
β uint8_t n_delay_ind
N3/N9 delay result presence. very specific, very slay π
Definition at line 123 of file rte_gtp.h.
β uint8_t spare_ul2
spare up link bits β the leftover bits just chilling π
Definition at line 124 of file rte_gtp.h.
β uint8_t qfi
Qos Flow Identifier. six whole bits of purpose π
Definition at line 125 of file rte_gtp.h.
β uint8_t data[0]
variable length data fields β the flexible-array-member moment, we love to see it πΈ
Definition at line 136 of file rte_gtp.h.
π« Author π«
Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its lil thing π€π
aaand that's the page, bestie! π«Ά cute lil sign-off time: this was DPDK, Version 26.03.0, and the whole thing is filed under rte_gtp_psc_type1_hdr(3) β go forth and parse those optional extensions, periodt β¨π
π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms