# otPlatTrelCounters Struct Reference

# otPlatTrelCounters


`#include <openthread/platform/trel.h>`

Represents a group of TREL related counters in the platform layer.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-trel-counters#structot_plat_trel_counters_1a1cca53edc58ed4d17078f4a567b6b796` | `uint64_t` Sum of size of packets received through TREL. |
| `https://openthread.io/reference/struct/ot-plat-trel-counters#structot_plat_trel_counters_1adcd9c724842e385ecf70b4a8357ac9cd` | `uint64_t` Number of packets received through TREL. |
| `https://openthread.io/reference/struct/ot-plat-trel-counters#structot_plat_trel_counters_1ac8c2e1a5e6ac3b1a8969796b02544477` | `uint64_t` Sum of size of packets successfully transmitted through TREL. |
| `https://openthread.io/reference/struct/ot-plat-trel-counters#structot_plat_trel_counters_1aa14c2780257f4a9f97574bfb61297243` | `uint64_t` Number of packet transmission failures through TREL. |
| `https://openthread.io/reference/struct/ot-plat-trel-counters#structot_plat_trel_counters_1a01ad68876ca033def3c9d7e3a8941066` | `uint64_t` Number of packets successfully transmitted through TREL. |

## Public attributes

### mRxBytes

```
uint64_t otPlatTrelCounters::mRxBytes
```
Sum of size of packets received through TREL.

### mRxPackets

```
uint64_t otPlatTrelCounters::mRxPackets
```
Number of packets received through TREL.

### mTxBytes

```
uint64_t otPlatTrelCounters::mTxBytes
```
Sum of size of packets successfully transmitted through TREL.

### mTxFailure

```
uint64_t otPlatTrelCounters::mTxFailure
```
Number of packet transmission failures through TREL.

### mTxPackets

```
uint64_t otPlatTrelCounters::mTxPackets
```
Number of packets successfully transmitted through TREL.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).