SOURCE_NAT(3)
π NAME
Okay bestie, this page is rte_table_..._nat_config(3) from the Library Functions Manual β and the star of the show is rte_table_action_nat_config. Yes, the title and manual name are both showing up near the top like theyβre matching outfits. Slay.
β¨ SYNOPSIS
#include <rte_table_action.h>
π Data Fields
int source_natuint8_t proto
πΈ Detailed Description
So this is the RTE_TABLE_ACTION_NAT NAT action configuration β and itβs per table action profile, okay? The definition lives at line 576 of file rte_table_action.h. No cap, thatβs the whole vibe of this section.
π¦ Field Documentation
int source_nat
When this is non-zero, the IP source address and L4 protocol source port get translated. When itβs zero, the IP destination address and L4 protocol destination port get translated instead. Thatβs the switch-up, bestie π
Definition at line 581 of file rte_table_action.h.
uint8_t proto
This is the Layer 4 protocol β for example, TCP (0x06) or UDP (0x11). The checksum field is computed differently and placed at a different header offset by each Layer 4 protocol, so yeah, proto is kind of the main character here π₯
Definition at line 587 of file rte_table_action.h.
π Author
Generated automatically by Doxygen for DPDK from the source code. Iconic tool behavior, honestly π«Ά
Catch you in the footer, bestie: this is DPDK, Version 26.03.0, with the page tag rte_table_..._nat_config(3) β and the original footer didnβt show a date line, so weβre not inventing one. Periodt π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms