rte_flow_a...dify_field(3)
β¨ rte_flow_action_modify_field β Library Functions Manual β¨
okay bestie, gather round π this is rte_flow_action_modify_field(3), straight outta the Library Functions Manual, and it's giving struct energy.
πΈ NAME πΈ
rte_flow_action_modify_field β the struct that lets you rewrite a packet's header field, no cap
π¦ SYNOPSIS π¦
#include <rte_flow.h>
π Data Fields π
enum rte_flow_modify_op operationstruct rte_flow_field_data dststruct rte_flow_field_data srcuint32_t width
π Detailed Description π
β οΈ Warning β EXPERIMENTAL: this structure may change without prior notice. so likeβ¦ don't get too attached, she's still figuring herself out π
RTE_FLOW_ACTION_TYPE_MODIFY_FIELD
So what does it do? It modifies a destination header field according to the operation you picked. And the source? Baby, it can be another field of the packet, or a tag, a mark, metadata, an immediate value, or even a pointer to one. versatility queen π
Defined at line 4139 of file rte_flow.h. iykyk π
π Field Documentation π
β enum rte_flow_modify_op operation
The operation to perform. literally the whole vibe of the thing, the main character of this struct πββοΈ
Defined at line 4140 of file rte_flow.h.
π struct rte_flow_field_data dst
Destination field β where the magic lands β¨
Defined at line 4141 of file rte_flow.h.
π§ struct rte_flow_field_data src
Source field β where the magic comes from π«Ά
Defined at line 4142 of file rte_flow.h.
π uint32_t width
Number of bits to use from a source field. just the bits, bestie, not the whole buffet π
Defined at line 4143 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (not me writing this by hand, the robots did it, and honestly? ate π€β¨)
okay that's the whole page, mwah π thanks for reading β brought to you by DPDK, Version 25.11.3, page rte_flow_a...dify_field(3), and yes she was auto-generated with love ππ¦πΈ
π¦ 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