rte_l2tpv2...ith_offset(3)
β¨ NAME β¨
rte_l2tpv2_msg_with_offset β okay bestie, this is a lil struct that holds the options offset size and the offset padding from an L2TPv2 message header π
It lives in section 3 of the Library Functions Manual, so yes, this is a function/API-adjacent kind of page, and no, you can't just run it in your shell π
π¦ SYNOPSIS π¦
#include <rte_l2tpv2.h>
π Data Fields π
rte_be16_t tunnel_id
rte_be16_t session_id
rte_be16_t offset_size
uint8_t * offset_padding
not me showing you the whole field list up top and then explaining it all again below π stay with me, that's just how man pages do
πΈ DETAILED DESCRIPTION πΈ
So the L2TPv2 message Header contains the options offset size and the offset padding, and this struct is literally that β it's giving "just the offset bits, nothing else" β¨
Definition at line 179 of file rte_l2tpv2.h.
π FIELD DOCUMENTATION π
π rte_be16_t tunnel_id
tunnel ID, and it's 16 bits bestie β <italic>(16)</italic> β¨
Definition at line 180 of file rte_l2tpv2.h.
π rte_be16_t session_id
session ID, also 16 bits <italic>(16)</italic> π«Ά
Definition at line 181 of file rte_l2tpv2.h.
π rte_be16_t offset_size
offset size, 16 bits again <italic>(16)</italic> π
Definition at line 182 of file rte_l2tpv2.h.
π uint8_t* offset_padding
offset padding, and this one's <italic>(variable length)</italic> β the only field here that isn't a tidy little 16-bit situation, so clock it π
Definition at line 183 of file rte_l2tpv2.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. No human hand-wrote this prose, which honestly explains a lot and yet she still ate πβ¨
π«Ά that's the whole page, no cap β every field, every line number, every <italic>(16)</italic>, untouched
DPDK β Version 25.11.3 π thanks for reading my little man page bestie, go forth and parse L2TPv2 headers, 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