Scroll to navigation

rte_table_action_nat_params(3) DPDK 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
uint8_t ipv6 [16]
} addr
uint16_t port

Detailed Description

NAT action parameters (per table rule).

Definition at line 590 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 592 of file rte_table_action.h.

uint32_t ipv4

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

Definition at line 597 of file rte_table_action.h.

uint8_t ipv6[16]

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

Definition at line 600 of file rte_table_action.h.

union { ... } addr

IP address.

uint16_t port

Port.

Definition at line 604 of file rte_table_action.h.

Author

Generated automatically by Doxygen for DPDK from the source code.

Fri Dec 15 2023 Version 23.11.0