RTE_FLOW_ACTION_OF_SET_VLAN_VID(3)
π rte_flow_action_of_set_vlan_vid β bestie edition π
okay so. this is a section 3 Library Functions Manual page, and it's about exactly one (1) teeny tiny struct, but it's a load-bearing teeny tiny struct, so we're gonna give it the respect it deserves. no cap. β¨
π NAME π
rte_flow_action_of_set_vlan_vid β the action struct that goes and tags your packet with a VLAN ID, OpenFlow style π
π¦ SYNOPSIS π¦
#include <rte_flow.h>
Data Fields
rte_be16_t vlan_vid
πΈ DESCRIPTION πΈ
So like. This struct is the data payload for RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_VID. That's the action type. That's what you plug in. That's the whole thing. π
It implements OFPAT_SET_VLAN_VID β which the spec describes as "set the 802.1q VLAN ID" β as defined by the OpenFlow Switch Specification. So yes, this is DPDK politely doing the OpenFlow thing for you, no drama, no guessing, just vibes that match the spec. π«Ά
Definition at line 3640 of file rte_flow.h. marker for later, bestie, we love a source-of-truth citation.
π§ FIELD DOCUMENTATION π§
β¨ rte_be16_t vlan_vid
It's the VLAN ID. That's it. That's the field. It holds the VLAN ID you're setting. it's giving minimalism, it's giving purpose. π
Definition at line 3641 of file rte_flow.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. Not a human, not a committee, just Doxygen doing its little autopilot thing and honestly? it ate. π
π SEE ALSO π
ngl there is no SEE ALSO section on this page. the manpage said what it said and then it left. main character exits the group chat without saying bye. iconic. π
cute sign-off, as promised: this absolute gem comes to you from DPDK, Version 25.11.3 β fr fr, that's the version, that's the footer, we're not making it up. go forth and tag your VLANs responsibly. πβ¨πΈπ¦π π₯
π¦ 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