---
name: "rte_table_action_ttl_config"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_table_action_ttl_config"
---

# rte\_table\_action\_ttl\_config(3)

## NAME

rte\_table\_action\_ttl\_config

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

int **drop**\
 int **n\_packets\_enabled**\

## Detailed Description

RTE\_TABLE\_ACTION\_TTL TTL action configuration (per table action profile).

Definition at line **612** of file **rte\_table\_action.h**.

## Field Documentation

### int drop

When non-zero, the input packets whose updated IPv4 Time to Live (TTL) field or IPv6 Hop Limit (HL) field is zero are dropped. When zero, the input packets whose updated IPv4 TTL field or IPv6 HL field is zero are forwarded as usual (typically for debugging purpose).

Definition at line **619** of file **rte\_table\_action.h**.

### int n\_packets\_enabled

When non-zero, the *n\_packets* stats counter for TTL action is enabled, otherwise disabled.

**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.
