VLAN_VID(3)
π¦ 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
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms