DPDK  24.07.0
Data Fields
rte_table_action_nat_config Struct Reference

#include <rte_table_action.h>

Data Fields

int source_nat
 
uint8_t proto
 

Detailed Description

RTE_TABLE_ACTION_NATNAT action configuration (per table action profile).

Definition at line 575 of file rte_table_action.h.

Field Documentation

◆ source_nat

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 580 of file rte_table_action.h.

◆ proto

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 586 of file rte_table_action.h.


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