---
name: "rte_table_action_mtr_counters_tc"
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_mtr_counters_tc"
---

# rte\_table\_action\_mtr\_counters\_tc(3)

## NAME

rte\_table\_action\_mtr\_counters\_tc

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

uint64\_t **n\_packets** \[**RTE\_COLORS**\]\
 uint64\_t **n\_bytes** \[**RTE\_COLORS**\]\
 int **n\_packets\_valid**\
 int **n\_bytes\_valid**\

## Detailed Description

Meter action statistics counters per traffic class.

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

## Field Documentation

### uint64\_t n\_packets\[RTE\_COLORS\]

Number of packets per color at the output of the traffic metering and before the policer actions are executed. Only valid when *n\_packets\_valid* is non-zero.

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

### uint64\_t n\_bytes\[RTE\_COLORS\]

Number of packet bytes per color at the output of the traffic metering and before the policer actions are executed. Only valid when *n\_bytes\_valid* is non-zero.

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

### int n\_packets\_valid

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

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

### int n\_bytes\_valid

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

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
