# otIp6AddressInfo


`#include <openthread/ip6.h>`

Represents IPv6 address information.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1a541b87f9b05da0e1265c3a931e1935f2` | `const https://openthread.io/reference/struct/ot-ip6-address *` A pointer to the IPv6 address. |
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1ab187ff266484938a3fbce8338a795c1a` | `bool` Whether this is a mesh-local RLOC or ALOC address. |
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1a63daa40870781a6071d585afa2402ff0` | `bool` Whether this is a mesh-local unicast/anycast address. |
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1a602663ffd19963ee304ded843fc15965` | `bool` Whether this is a preferred address. |
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1abfd40d0966a947073d8c263ea098cb71` | `uint8_t` The prefix length of mAddress if it is a unicast address. |
| `https://openthread.io/reference/struct/ot-ip6-address-info#structot_ip6_address_info_1aa25f816ddb379ab6d978405ea7eb1f00` | `uint8_t` The scope of this address. |

## Public attributes

### mAddress

```
const otIp6Address * otIp6AddressInfo::mAddress
```
A pointer to the IPv6 address.

### mIsLocator

```
bool otIp6AddressInfo::mIsLocator
```
Whether this is a mesh-local RLOC or ALOC address.

### mMeshLocal

```
bool otIp6AddressInfo::mMeshLocal
```
Whether this is a mesh-local unicast/anycast address.

### mPreferred

```
bool otIp6AddressInfo::mPreferred
```
Whether this is a preferred address.

### mPrefixLength

```
uint8_t otIp6AddressInfo::mPrefixLength
```
The prefix length of mAddress if it is a unicast address.

### mScope

```
uint8_t otIp6AddressInfo::mScope
```
The scope of this 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).