---
name: "rte_mtr_stats"
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_mtr_stats"
---

# rte\_mtr\_stats(3)

## NAME

rte\_mtr\_stats

## SYNOPSIS

`#include <rte_mtr.h>`

### Data Fields

uint64\_t **n\_pkts** \[**RTE\_COLORS**\]\
 uint64\_t **n\_bytes** \[**RTE\_COLORS**\]\
 uint64\_t **n\_pkts\_dropped**\
 uint64\_t **n\_bytes\_dropped**\

## Detailed Description

Statistics counters

Definition at line **90** of file **rte\_mtr.h**.

## Field Documentation

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

Number of packets passed by the policer (per color).

Definition at line **92** of file **rte\_mtr.h**.

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

Number of bytes passed by the policer (per color).

Definition at line **95** of file **rte\_mtr.h**.

### uint64\_t n\_pkts\_dropped

Number of packets dropped by the policer.

Definition at line **98** of file **rte\_mtr.h**.

### uint64\_t n\_bytes\_dropped

Number of bytes passed by the policer.

Definition at line **101** of file **rte\_mtr.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
