# otNat64AddressMappingIterator Struct Reference

# otNat64AddressMappingIterator


`#include <openthread/nat64.h>`

Used to iterate through NAT64 address mappings.

## Summary

The fields in this type are opaque (intended for use by OpenThread core only) and therefore should not be accessed or used by caller.

Before using an iterator, it MUST be initialized using `https://openthread.io/reference/group/api-nat64#group__api-nat64_1ga6ccdefe59eb89f72755b52df94c27e9a`.

The member fields in this struct are for internal OpenThread stack use and should not be accessed directly.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-nat64-address-mapping-iterator#structot_nat64_address_mapping_iterator_1a27f8f62f6e1fe47780d86403379463ed` | `uint32_t` |
| `https://openthread.io/reference/struct/ot-nat64-address-mapping-iterator#structot_nat64_address_mapping_iterator_1a0d4f5b75c4aa6973c30b5200aab23694` | `const void *` |

## Public attributes

### mData32

```
uint32_t otNat64AddressMappingIterator::mData32
```

### mPtr

```
const void * otNat64AddressMappingIterator::mPtr
```

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