rte_pdcp_u..._sn_18_hdr(3)
π NAME π
rte_pdcp_up_data_pdu_sn_18_hdr β okay bestie, this is the struct that holds the header for PDCP Data PDUs with an 18-bit sequence number. It's giving very niche, very DPDK, very iconic. no cap β¨
(also real talk, this page lives in the Library Functions Manual of DPDK, so you already know it's a C header situation π«Ά)
πΈ SYNOPSIS πΈ
#include <rte_pdcp_hdr.h>
π Data Fields π
uint8_t sn_17_16: 2
uint8_t r: 5
uint8_t d_c: 1
uint8_t sn_15_8
uint8_t sn_7_0
Like, that's the whole lineup. Five fields, tiny bitfields, all uint8_t, all doing their little job π reserved bit era fr fr.
π¦ Detailed Description π¦
So the spec calls this one 6.2.2.3 Data PDU for DRBs and MRBs with 18 bits PDCP SN π β that's the 3GPP energy right there.
Literally defined at line91of filerte_pdcp_hdr.h. Not line 90, not line 92. Line91. iykyk π
β¨ Field Documentation β¨
uint8_t sn_17_16β sequence number bits 16-17, the top two little guys, crammed into a 2-bit field π Defined at line93of filerte_pdcp_hdr.h.uint8_t rβ Reserved. That's it. That's the field.5bits of "please don't touch, bestie" π Defined at line94of filerte_pdcp_hdr.h.uint8_t d_cβ the D/C bit, one whole bit of main-character energy π Defined at line95of filerte_pdcp_hdr.h.uint8_t sn_15_8β sequence number bits 8-15, the whole middle byte, slaying π Defined at line101of filerte_pdcp_hdr.h.uint8_t sn_7_0β sequence number bits 0-7, the bottom byte, holding it down β Defined at line102of filerte_pdcp_hdr.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me, not you, not a human β a doc generator did that. honestly? ate πβ¨
and that's the whole page, bestie π§ This was rte_pdcp_u..._sn_18_hdr(3) from DPDK Version 26.03.0, served fresh with all the same facts and a lot more sparkle. mwah ππ«Άπ
π¦ 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