DPDK 25.03.0-rc0
Data Fields
rte_table_action_nat_params Struct Reference

#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

◆ ip_version

int ip_version

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

Definition at line 593 of file rte_table_action.h.

◆ ipv4

uint32_t ipv4

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

Definition at line 598 of file rte_table_action.h.

◆ ipv6

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.

◆ port

uint16_t port

Port.

Definition at line 605 of file rte_table_action.h.


The documentation for this struct was generated from the following file: