# otIp6AddressComponents Struct Reference

# otIp6AddressComponents


`#include <openthread/ip6.h>`

Represents the components of an IPv6 address.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-ip6-address-components#structot_ip6_address_components_1a149420488b75c3f533cd3597e7cce043` | `https://openthread.io/reference/struct/ot-ip6-interface-identifier` The Interface Identifier (least significant 64 bits of the address) |
| `https://openthread.io/reference/struct/ot-ip6-address-components#structot_ip6_address_components_1a66e9ff93143247b26614d4496802d10a` | `https://openthread.io/reference/struct/ot-ip6-network-prefix` The Network Prefix (most significant 64 bits of the address) |

## Public attributes

### mIid

```
otIp6InterfaceIdentifier otIp6AddressComponents::mIid
```
The Interface Identifier (least significant 64 bits of the address)

### mNetworkPrefix

```
otIp6NetworkPrefix otIp6AddressComponents::mNetworkPrefix
```
The Network Prefix (most significant 64 bits of the address)

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