SOURCE_NAT(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_nat
  • uint8_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