---
name: "rte_table_action_nat_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_table_action_nat_config"
---

# rte\_table\_action\_nat\_config(3)

## NAME

rte\_table\_action\_nat\_config

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

int **source\_nat**\
 uint8\_t **proto**\

## Detailed Description

RTE\_TABLE\_ACTION\_NAT NAT action configuration (per table action profile).

Definition at line **576** of file **rte\_table\_action.h**.

## Field Documentation

### int source\_nat

When non-zero, the IP source address and L4 protocol source port are translated. When zero, the IP destination address and L4 protocol destination port are translated.

Definition at line **581** of file **rte\_table\_action.h**.

### uint8\_t proto

Layer 4 protocol, for example TCP (0x06) or UDP (0x11). The checksum field is computed differently and placed at different header offset by each layer 4 protocol.

Definition at line **587** of file **rte\_table\_action.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
