---
name: "rte_flow_action_modify_field"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_flow_action_modify_field"
---

# rte\_flow\_action\_modify\_field(3)

## NAME

rte\_flow\_action\_modify\_field

## 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

RTE\_FLOW\_ACTION\_TYPE\_MODIFY\_FIELD

Modify a destination header field according to the specified operation. Another field of the packet can be used as a source as well as tag, mark, metadata, immediate value or a pointer to it.

Definition at line **4139** of file **rte\_flow.h**.

## Field Documentation

### enum rte\_flow\_modify\_op operation

Operation to perform.

Definition at line **4140** of file **rte\_flow.h**.

### struct rte\_flow\_field\_data dst

Destination field.

Definition at line **4141** of file **rte\_flow.h**.

### struct rte\_flow\_field\_data src

Source field.

Definition at line **4142** of file **rte\_flow.h**.

### uint32\_t width

Number of bits to use from a source field.

Definition at line **4143** of file **rte\_flow.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
