otNetifAddress

#include <ip6.h>

Represents an IPv6 network interface unicast address.

Summary

Public attributes

mAddress
The IPv6 unicast address.
mAddressOrigin
uint8_t
The IPv6 address origin.
mMeshLocal
bool
TRUE if the address is mesh-local, FALSE otherwise.
mNext
const struct otNetifAddress *
A pointer to the next network interface address.
mPreferred
bool
TRUE if the address is preferred, FALSE otherwise.
mPrefixLength
uint8_t
The Prefix length (in bits).
mRloc
bool
TRUE if the address is an RLOC, FALSE otherwise.
mScopeOverride
unsigned int
The IPv6 scope of this address.
mScopeOverrideValid
bool
TRUE if the mScopeOverride value is valid, FALSE otherwise.
mSrpRegistered
bool
Used by OT core only (indicates whether registered by SRP Client).
mValid
bool
TRUE if the address is valid, FALSE otherwise.

Public attributes

mAddress

otIp6Address otNetifAddress::mAddress

The IPv6 unicast address.

mAddressOrigin

uint8_t otNetifAddress::mAddressOrigin

The IPv6 address origin.

mMeshLocal

bool otNetifAddress::mMeshLocal

TRUE if the address is mesh-local, FALSE otherwise.

mNext

const struct otNetifAddress * otNetifAddress::mNext

A pointer to the next network interface address.

mPreferred

bool otNetifAddress::mPreferred

TRUE if the address is preferred, FALSE otherwise.

mPrefixLength

uint8_t otNetifAddress::mPrefixLength

The Prefix length (in bits).

mRloc

bool otNetifAddress::mRloc

TRUE if the address is an RLOC, FALSE otherwise.

mScopeOverride

unsigned int otNetifAddress::mScopeOverride

The IPv6 scope of this address.

mScopeOverrideValid

bool otNetifAddress::mScopeOverrideValid

TRUE if the mScopeOverride value is valid, FALSE otherwise.

mSrpRegistered

bool otNetifAddress::mSrpRegistered

Used by OT core only (indicates whether registered by SRP Client).

mValid

bool otNetifAddress::mValid

TRUE if the address is valid, FALSE otherwise.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.