# otIpCounters Struct Reference

# otIpCounters


`#include <openthread/thread.h>`

Represents the IP level counters.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-ip-counters#structot_ip_counters_1afd889e14c2055933eea05e92679f5034` | `uint32_t` The number of IPv6 packets failed to receive. |
| `https://openthread.io/reference/struct/ot-ip-counters#structot_ip_counters_1aae146cd68d8598719335d981a311cfe9` | `uint32_t` The number of IPv6 packets successfully received. |
| `https://openthread.io/reference/struct/ot-ip-counters#structot_ip_counters_1a2e7722f3dd899afb7fe6700f318cfb12` | `uint32_t` The number of IPv6 packets failed to transmit. |
| `https://openthread.io/reference/struct/ot-ip-counters#structot_ip_counters_1a0b0cfeec9e46c216345f6dc83a6f6d87` | `uint32_t` The number of IPv6 packets successfully transmitted. |

## Public attributes

### mRxFailure

```
uint32_t otIpCounters::mRxFailure
```
The number of IPv6 packets failed to receive.

### mRxSuccess

```
uint32_t otIpCounters::mRxSuccess
```
The number of IPv6 packets successfully received.

### mTxFailure

```
uint32_t otIpCounters::mTxFailure
```
The number of IPv6 packets failed to transmit.

### mTxSuccess

```
uint32_t otIpCounters::mTxSuccess
```
The number of IPv6 packets successfully transmitted.

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