---
name: "rte_flow_item_flex_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_item_flex_field"
---

# rte\_flow\_item\_flex\_field(3)

## NAME

rte\_flow\_item\_flex\_field

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

enum **rte\_flow\_item\_flex\_field\_mode** **field\_mode**\
 uint32\_t **field\_size**\
 int32\_t **field\_base**\
 uint32\_t **offset\_base**\
 uint32\_t **offset\_mask**\
 int32\_t **offset\_shift**\
 uint32\_t **field\_id**:16\
 uint32\_t **reserved**:16\

## Detailed Description

**Warning**

**EXPERIMENTAL:** this structure may change without prior notice

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

## Field Documentation

### enum rte\_flow\_item\_flex\_field\_mode field\_mode

Defines how match field offset is calculated over the packet.

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

### uint32\_t field\_size

Field size in bits.

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

### int32\_t field\_base

Field offset in bits.

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

### uint32\_t offset\_base

Indirect offset field offset in bits.

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

### uint32\_t offset\_mask

Indirect offset field bit mask.

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

### int32\_t offset\_shift

Indirect offset multiply factor.

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

### uint32\_t field\_id

Device hint, for multiple items in flow.

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

### uint32\_t reserved

Reserved field.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
