RTE_TABLE_ACTION_TTL_CONFIG(3)
β¨ NAME β¨
rte_table_action_ttl_config β bestie, this is the TTL action config struct, and yes it's exactly as iconic as it sounds π
It's the struct page from the rte_table_..._ttl_config(3) manny, living in the Library Functions Manual β so you know it's real π
π SYNOPSIS π
#include <rte_table_action.h>
πΈ Data Fields
int dropint n_packets_enabled
π¦ Detailed Description π¦
So this is the RTE_TABLE_ACTION_TTL TTL action configuration β and the important part, bestie, is that it's per table action profile π One profile, one vibe, one TTL config. No sharing, periodt.
Definition at line 612 of file rte_table_action.h.
π Field Documentation π
int drop
Okay this one is the whole personality of the struct π
When it's non-zero, the input packets whose updated IPv4 Time to Live (TTL) field or IPv6 Hop Limit (HL) field is zero get dropped. Gone. Blocked. Not invited to the function π₯
When it's zero, those same packets β the ones whose updated IPv4 TTL field or IPv6 HL field is zero β are forwarded as usual, which is typically for debugging purpose π (yes, letting TTL-zero packets wander around on purpose, we love a deliberate chaos moment).
Definition at line 619 of file rte_table_action.h.
int n_packets_enabled
When this is non-zero, the n_packets stats counter for the TTL action is enabled β¨ Otherwise? Disabled. That's it, that's the toggle ποΈ
See also
struct rte_table_action_ttl_counters
Definition at line 626 of file rte_table_action.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, no cap β the robot did it and honestly it ate π€π
okay bestie that's the whole page π«Ά it came from DPDK Version 25.11.3, dated rte_table_..._ttl_config(3), and it was served up fresh from the DPDK docs pipeline. mwah, go configure your TTL action π
π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms