rte_vxlan_hdr(3)
π rte_vxlan_hdr π
okay bestie, so this one's a manpage from DPDK's library functions squad, and it's literally all about one lil struct: rte_vxlan_hdr. no cap.
β¨ NAME β¨
rte_vxlan_hdr β the header struct for the VXLAN protocol, and she is that girl π
πΈ SYNOPSIS πΈ
#include <rte_vxlan.h>
like, that's the whole vibe. one include and you're in π«Ά
π¦ DETAILED DESCRIPTION π¦
so VXLAN protocol header. this struct is packing an 8-bit flag, a 24-bit VXLAN Network Identifier, and the Reserved fields (which are 24 bits and 8 bits, respectively). she's compact, she's structured, she knows exactly what she's about β¨
Definition at line 30 of file rte_vxlan.h. periodt.
π FIELD DOCUMENTATION π
okay now the main event, bestie β every single field, one by one, no skipping, i would never π
rte_be32_t vx_flags
flags (8 bits) + extensions (24 bits). two-for-one moment fr fr.
Definition at line 32 of file rte_vxlan.h.
uint8_t flags
Default is the I bit, and the others? extensions, bestie. the rest is just bonus content π
Definition at line 35 of file rte_vxlan.h.
uint8_t flag_g
the GBP bit. short king, big job π
Definition at line 38 of file rte_vxlan.h.
uint8_t flag_ver
GPE Protocol Version. gotta know what version we're on, iykyk.
Definition at line 40 of file rte_vxlan.h.
uint8_t flag_i
the VNI bit. iconic single letter energy β
Definition at line 41 of file rte_vxlan.h.
uint8_t flag_p
the GPE Next Protocol bit. she's telling you what's coming next π₯
Definition at line 42 of file rte_vxlan.h.
uint8_t flag_b
GPE Ingress-Replicated BUM. yes that's the whole name, yes it's long, we stan anyway.
Definition at line 43 of file rte_vxlan.h.
uint8_t flag_o
the GPE OAM Packet bit. operations, administration, maintenance β the grown-up trio π
Definition at line 44 of file rte_vxlan.h.
uint8_t flag_d
GBP Don't Learn bit. she said "i will NOT be learning today" π relatable.
Definition at line 61 of file rte_vxlan.h.
uint8_t flag_a
GBP Applied bit. applied? slay, she did the work β
Definition at line 63 of file rte_vxlan.h.
uint16_t policy_id
the GBP Identifier. this is how you know which policy she belongs to π
Definition at line 73 of file rte_vxlan.h.
uint8_t proto
GPE Next protocol. same energy as flag_p but make it the actual protocol value, ngl.
Definition at line 76 of file rte_vxlan.h.
rte_be32_t vx_vni
VNI (24 bits) + reserved (8 bits). the bits are sharing, and honestly? good for them π«Ά
Definition at line 89 of file rte_vxlan.h.
uint8_t vni[3]
the VXLAN Identifier β three whole bytes of it. tiny but mighty π§
Definition at line 91 of file rte_vxlan.h.
uint8_t rsvd1
Reserved. that's it. she's reserved, she's mysterious, don't touch πΈ
Definition at line 93 of file rte_vxlan.h.
uint8_t last_rsvd
Reserved again β the last one this time. fitting name, no notes π
Definition at line 94 of file rte_vxlan.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. so technically the author is a robot and honestly? the robot ate π
aaaand that's the whole page bestie, hope VXLAN makes sense now π this was DPDK, Version 25.11.3, and the doc itself is rte_vxlan_hdr(3) β mwah, go build something cute with it π¦β¨
π¦ 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