RTE_TABLE_ACTION_TTL_PARAMS(3)

🌸 rte_table_action_ttl_params β€” NAME 🌸

ok so bestie, this is rte_table_action_ttl_params πŸ’– β€” it's a struct from the Library Functions Manual, and it holds the TTL action parameters (per table rule). yeah. that's the whole vibe. it's giving "small struct, big responsibilities" ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_table_action.h>

πŸ“¦ Data Fields

  • int decrement β€” the one and only field, and yes she's carrying the whole page 🫢

πŸ’… DESCRIPTION πŸ’…

TTL action parameters (per table rule).

that's it, that's the description. no cap. πŸ’«

lowkey important housekeeping: this is defined at line 630 of the file rte_table_action.h. 🧚

πŸ” Field Documentation πŸ”

int decrement

ok so here's the tea β˜• β€” when this bad boy is non-zero, it does two things depending on the protocol:

  • it decrements the IPv4 TTL field and updates the checksum field, or
  • it decrements the IPv6 HL field

and when it's zero? absolutely nothing happens β€” the IPv4 TTL field or the IPv6 HL field is not changed. she's just sitting there. peaceful. unbothered. 🌸

and ofc, the receipts: defined at line 635 of the file rte_table_action.h. πŸ’–

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code.

not a human author, just Doxygen doing her little automatic thing. iconic behaviour honestly. πŸ€–βœ¨


and that's the whole page bestie!! πŸ¦‹ this one came to you from DPDK, Version 25.11.3 πŸ’œ β€” mwah, go read some source code, ily πŸŽ€πŸ’…

πŸ“¦ where this page comes from