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