# otNat64ErrorCounters Struct Reference

# otNat64ErrorCounters


`#include <openthread/nat64.h>`

Represents the counters of dropped packets due to errors when handling NAT64 packets.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-nat64-error-counters#structot_nat64_error_counters_1a9a4e8225420afd2c845a549ee138809b[OT_NAT64_DROP_REASON_COUNT]` | `uint64_t` Errors translating IPv4 packets. |
| `https://openthread.io/reference/struct/ot-nat64-error-counters#structot_nat64_error_counters_1a76f5f663ff1bb382e8ebaf8178d56eb1[OT_NAT64_DROP_REASON_COUNT]` | `uint64_t` Errors translating IPv6 packets. |

## Public attributes

### mCount4To6

```
uint64_t otNat64ErrorCounters::mCount4To6[OT_NAT64_DROP_REASON_COUNT]
```
Errors translating IPv4 packets.

### mCount6To4

```
uint64_t otNat64ErrorCounters::mCount6To4[OT_NAT64_DROP_REASON_COUNT]
```
Errors translating IPv6 packets.

## 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).