---
name: "rte_table_action_stats_counters"
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_stats_counters"
---

# rte\_table\_action\_stats\_counters(3)

## NAME

rte\_table\_action\_stats\_counters

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

uint64\_t **n\_packets**\
 uint64\_t **n\_bytes**\
 int **n\_packets\_valid**\
 int **n\_bytes\_valid**\

## Detailed Description

Stats action counters (per table rule).

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

## Field Documentation

### uint64\_t n\_packets

Number of packets. Valid only when *n\_packets\_valid* is non-zero.

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

### uint64\_t n\_bytes

Number of bytes. Valid only when *n\_bytes\_valid* is non-zero.

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

### int n\_packets\_valid

When non-zero, the *n\_packets* field is valid, otherwise invalid.

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

### int n\_bytes\_valid

When non-zero, the *n\_bytes* field is valid, otherwise invalid.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
