# otNat64ProtocolCounters Struct Reference

# otNat64ProtocolCounters


`#include <openthread/nat64.h>`

Represents the counters for the protocols supported by NAT64.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-nat64-protocol-counters#structot_nat64_protocol_counters_1ab2d56479abf9947486fc8810c2aea8a7` | `https://openthread.io/reference/struct/ot-nat64-counters` Counters for ICMP and ICMPv6. |
| `https://openthread.io/reference/struct/ot-nat64-protocol-counters#structot_nat64_protocol_counters_1ad22108aafcad1ba82423dd8d921e2430` | `https://openthread.io/reference/struct/ot-nat64-counters` Counters for TCP. |
| `https://openthread.io/reference/struct/ot-nat64-protocol-counters#structot_nat64_protocol_counters_1a790ab37f3f3447338381c7e366bcaf1f` | `https://openthread.io/reference/struct/ot-nat64-counters` Counters for sum of all protocols. |
| `https://openthread.io/reference/struct/ot-nat64-protocol-counters#structot_nat64_protocol_counters_1a8465f0d49020fd28935a34449db464c2` | `https://openthread.io/reference/struct/ot-nat64-counters` Counters for UDP. |

## Public attributes

### mIcmp

```
otNat64Counters otNat64ProtocolCounters::mIcmp
```
Counters for ICMP and ICMPv6.

### mTcp

```
otNat64Counters otNat64ProtocolCounters::mTcp
```
Counters for TCP.

### mTotal

```
otNat64Counters otNat64ProtocolCounters::mTotal
```
Counters for sum of all protocols.

### mUdp

```
otNat64Counters otNat64ProtocolCounters::mUdp
```
Counters for UDP.

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