# otNat64Counters Struct Reference

# otNat64Counters


`#include <openthread/nat64.h>`

Represents the counters for NAT64.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-nat64-counters#structot_nat64_counters_1aeaab2d7e05ed6c059ef11633d83a34ad` | `uint64_t` Sum of size of packets translated from IPv4 to IPv6. |
| `https://openthread.io/reference/struct/ot-nat64-counters#structot_nat64_counters_1adb52be703a86891db71aca62a028c60f` | `uint64_t` Number of packets translated from IPv4 to IPv6. |
| `https://openthread.io/reference/struct/ot-nat64-counters#structot_nat64_counters_1ad0ab7f7a13b43902c649023b274629fd` | `uint64_t` Sum of size of packets translated from IPv6 to IPv4. |
| `https://openthread.io/reference/struct/ot-nat64-counters#structot_nat64_counters_1a8d95d5383ed68dcb138c7c4e20ceb92d` | `uint64_t` Number of packets translated from IPv6 to IPv4. |

## Public attributes

### m4To6Bytes

```
uint64_t otNat64Counters::m4To6Bytes
```
Sum of size of packets translated from IPv4 to IPv6.

### m4To6Packets

```
uint64_t otNat64Counters::m4To6Packets
```
Number of packets translated from IPv4 to IPv6.

### m6To4Bytes

```
uint64_t otNat64Counters::m6To4Bytes
```
Sum of size of packets translated from IPv6 to IPv4.

### m6To4Packets

```
uint64_t otNat64Counters::m6To4Packets
```
Number of packets translated from IPv6 to IPv4.

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