---
name: "rte_table_action_nat_params"
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_params"
---

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

## NAME

rte\_table\_action\_nat\_params

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

int **ip\_version**\
 union {\
    uint32\_t **ipv4**\
    struct **rte\_ipv6\_addr** **ipv6**\
 } **addr**\
 uint16\_t **port**\

## Detailed Description

NAT action parameters (per table rule).

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

## Field Documentation

### int ip\_version

IP version for *addr*: non-zero for IPv4, zero for IPv6.

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

### uint32\_t ipv4

IPv4 address; only valid when *ip\_version* is non-zero.

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

### struct rte\_ipv6\_addr ipv6

IPv6 address; only valid when *ip\_version* is set to 0.

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

### union { ... } addr

IP address.

### uint16\_t port

Port.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
