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 length
  • rte_be16_t tunnel_id
  • rte_be16_t session_id
  • rte_be16_t ns
  • rte_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