---
name: "rte_port_in_action_fltr_config"
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_port_in_action_fltr_config"
---

# rte\_port\_in\_action\_fltr\_config(3)

## NAME

rte\_port\_in\_action\_fltr\_config

## SYNOPSIS

`#include <rte_port_in_action.h>`

### Data Fields

uint32\_t **key\_offset**\
 uint8\_t **key\_mask** \[**RTE\_PORT\_IN\_ACTION\_FLTR\_KEY\_SIZE**\]\
 uint8\_t **key** \[**RTE\_PORT\_IN\_ACTION\_FLTR\_KEY\_SIZE**\]\
 int **filter\_on\_match**\
 uint32\_t **port\_id**\

## Detailed Description

Filter action configuration (per action profile).

Definition at line **76** of file **rte\_port\_in\_action.h**.

## Field Documentation

### uint32\_t key\_offset

Key offset within the input packet buffer. Offset 0 points to the first byte of the MBUF structure.

Definition at line **80** of file **rte\_port\_in\_action.h**.

### uint8\_t key\_mask\[RTE\_PORT\_IN\_ACTION\_FLTR\_KEY\_SIZE\]

Key mask.

Definition at line **83** of file **rte\_port\_in\_action.h**.

### uint8\_t key\[RTE\_PORT\_IN\_ACTION\_FLTR\_KEY\_SIZE\]

Key value.

Definition at line **86** of file **rte\_port\_in\_action.h**.

### int filter\_on\_match

When non-zero, all the input packets that match the *key* (with the *key\_mask* applied) are sent to the pipeline output port *port\_id*. When zero, all the input packets that do NOT match the *key* (with *key\_mask* applied) are sent to the pipeline output port *port\_id*.

Definition at line **93** of file **rte\_port\_in\_action.h**.

### uint32\_t port\_id

Pipeline output port ID to send the filtered input packets to. Can be updated later.

**See also**

struct **rte\_port\_in\_action\_fltr\_params**

Definition at line **100** of file **rte\_port\_in\_action.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
