DOKK / manpages / debian 13 / dpdk-doc / rte_table_action_nat_params.3.en
rte_table_action_nat_params(3) Library Functions Manual rte_table_action_nat_params(3)

rte_table_action_nat_params

#include <rte_table_action.h>


int ip_version
union {
uint32_t ipv4
struct rte_ipv6_addr ipv6
} addr
uint16_t port

NAT action parameters (per table rule).

Definition at line 591 of file rte_table_action.h.

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

Definition at line 593 of file rte_table_action.h.

IPv4 address; only valid when ip_version is non-zero.

Definition at line 598 of file rte_table_action.h.

IPv6 address; only valid when ip_version is set to 0.

Definition at line 601 of file rte_table_action.h.

IP address.

Port.

Definition at line 605 of file rte_table_action.h.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK