# otHistoryTrackerUnicastAddressInfo Struct Reference

# otHistoryTrackerUnicastAddressInfo


`#include <openthread/history_tracker.h>`

Represent a unicast IPv6 address info.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1ae674dcf5456d92133eab15d9f46e3326` | `https://openthread.io/reference/struct/ot-ip6-address` The unicast IPv6 address. |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1a4c21c47b8211b4a19c1b29936a6a1bcf` | `uint8_t` The address origin (`OT_ADDRESS_ORIGIN_*` constants). |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1a84e8760744e19fa79bf2c836508f8165` | `https://openthread.io/reference/group/api-history-tracker#group__api-history-tracker_1gac2f09439c035505a56eb6f1253551dd2` Indicates the event (address is added/removed). |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1ae6a094a2bc57418fc6c73695f1c8a820` | `bool` If the address is preferred. |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1abcf3688f1140e3c0993e8b96e2120b5d` | `uint8_t` The Prefix length (in bits). |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1ad1a5a0e7bf1dcde0a5b3506d3cf33e38` | `bool` If the address is an RLOC. |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1ae46cfa4d1c52a88ffa240b65d9c3f3c1` | `uint8_t` The IPv6 scope. |
| `https://openthread.io/reference/struct/ot-history-tracker-unicast-address-info#structot_history_tracker_unicast_address_info_1a56bed331a3d22ff50d0595a1ff7e1275` | `bool` If the address is valid. |

## Public attributes

### mAddress

```
otIp6Address otHistoryTrackerUnicastAddressInfo::mAddress
```
The unicast IPv6 address.

### mAddressOrigin

```
uint8_t otHistoryTrackerUnicastAddressInfo::mAddressOrigin
```
The address origin (`OT_ADDRESS_ORIGIN_*` constants).

### mEvent

```
otHistoryTrackerAddressEvent otHistoryTrackerUnicastAddressInfo::mEvent
```
Indicates the event (address is added/removed).

### mPreferred

```
bool otHistoryTrackerUnicastAddressInfo::mPreferred
```
If the address is preferred.

### mPrefixLength

```
uint8_t otHistoryTrackerUnicastAddressInfo::mPrefixLength
```
The Prefix length (in bits).

### mRloc

```
bool otHistoryTrackerUnicastAddressInfo::mRloc
```
If the address is an RLOC.

### mScope

```
uint8_t otHistoryTrackerUnicastAddressInfo::mScope
```
The IPv6 scope.

### mValid

```
bool otHistoryTrackerUnicastAddressInfo::mValid
```
If the address is valid.

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