RTE_L2TPV2_MSG_WITHOUT_OFFSET(3)
rte_l2tpv2_msg_without_offset π
okay bestie, welcome to the DPDK Library Functions Manual, section 3 β this is the page for rte_l2tpv2_msg_without_offset and honestly? she's giving "the L2TPv2 header but make it minimal". let's get into it β¨
NAME π
rte_l2tpv2_msg_without_offset β the L2TPv2 message header struct that keeps all the options except ns_nr, iykyk
SYNOPSIS π¦
#include <rte_l2tpv2.h>
Data Fields πΈ
rte_be16_t lengthrte_be16_t tunnel_idrte_be16_t session_idrte_be16_t nsrte_be16_t nr
Detailed Description π
so basically: the L2TPv2 message Header contains all options except ns_nr (length, ns, nr). no cap, that's literally what it says.
the offset size and the offset padding MUST be together. π«Ά that's not a vibe suggestion bestie, that's a requirement.
fr fr β offset size and offset padding are a package deal. do not separate them. π
this whole thing lives at Definition at line 168 of file rte_l2tpv2.h. π
Field Documentation π
rte_be16_t length β
length(16)
π Definition at line 169 of file rte_l2tpv2.h.
rte_be16_t tunnel_id β
tunnel ID(16)
π Definition at line 170 of file rte_l2tpv2.h.
rte_be16_t session_id β
session ID(16)
π Definition at line 171 of file rte_l2tpv2.h.
rte_be16_t ns β
Ns(16)
π Definition at line 172 of file rte_l2tpv2.h.
rte_be16_t nr β
Nr(16)
π Definition at line 173 of file rte_l2tpv2.h.
Author π¦
Generated automatically by Doxygen for DPDK from the source code. not a human author, just doxygen doing her little thing, and we respect her for it. π
and that's the whole page, bestie!! πβ¨ this was pulled from DPDK Version 25.11.3, page rte_l2tpv2...hout_offset(3) β go forth and parse your L2TPv2 headers responsibly, mwah π
ππ¦
π¦ 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