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 operation
  • struct rte_flow_field_data dst
  • struct rte_flow_field_data src
  • uint32_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