VLAN_VID(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, say hi to rte_flow_action_of_set_vlan_vid β€” that's the whole name, she's long, she's iconic, we love her πŸ’… (and yes, the page header literally calls her rte_flow_a...et_vlan_vid(3), from the Library Functions Manual, because even man pages gotta abbreviate when the name is that long 😭).


✨ SYNOPSIS ✨

the way you summon her is literally just:

#include <rte_flow.h>

that's it. no cap, that's the whole spell πŸͺ„

πŸŽ€ Data Fields πŸŽ€

  • rte_be16_t vlan_vid β€” the one and only field, she's serving 16 big-endian bits of pure VLAN ID energy πŸ”₯

πŸ’– DESCRIPTION (Detailed Description) πŸ’–

okay so this is all about RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_VID, and she is main character energy fr fr πŸ‘‘

she implements OFPAT_SET_VLAN_VID β€” and yes, its whole personality is "set the 802.1q VLAN ID" 🌸 β€” exactly as defined by the OpenFlow Switch Specification. like, we're not freestyling here, we're following the spec, periodt πŸ“œβœ¨

ngl she lives at definition line 3640 of the file rte_flow.h, so if you ever need to find her, that's the address bestie 🫢

🌈 FIELD DOCUMENTATION 🌈

πŸ’œ rte_be16_t vlan_vid

this field is literally just the VLAN ID. that's it. that's her whole job πŸŽ€ lowkey obsessed with how uncomplicated she is.

definition line 3641 of file rte_flow.h β€” screenshot it, memorize it, iykyk πŸ“Έ

πŸ‘‘ AUTHOR πŸ‘‘

she was generated automatically by Doxygen for DPDK, straight from the source code πŸ€–πŸ’– no human hand-wrote her vibe, the machine did that, and honestly? she ate.


πŸ“ little PSA bestie: this here page is DPDK Version 26.03.0, and that's the source + version the footer was repping β€” so yeah, that's the tea, that's the sign-off πŸ’…βœ¨ bye diva, go set some VLAN IDs πŸ§šβ€β™€οΈπŸ’œ
πŸ“¦ where this page comes from