# otIp4Cidr Struct Reference

# otIp4Cidr


`#include <openthread/nat64.h>`

Represents an IPv4 CIDR block.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-ip4-cidr#structot_ip4_cidr_1ab1e291bbbfb386e8bac58e2eb717aff0` | `https://openthread.io/reference/struct/ot-ip4-address` |
| `https://openthread.io/reference/struct/ot-ip4-cidr#structot_ip4_cidr_1a34fe41d2e04c001a8c8d01db9fbd2110` | `uint8_t` |

## Public attributes

### mAddress

```
otIp4Address otIp4Cidr::mAddress
```

### mLength

```
uint8_t otIp4Cidr::mLength
```

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