Represents an IPv6 network interface unicast address.

Public Attributes#

The IPv6 unicast address.

uint8_t

The Prefix length (in bits).

uint8_t

The IPv6 address origin.

bool

TRUE if the address is preferred, FALSE otherwise.

bool

TRUE if the address is valid, FALSE otherwise.

bool

TRUE if the mScopeOverride value is valid, FALSE otherwise.

unsigned int

The IPv6 scope of this address.

bool

TRUE if the address is an RLOC, FALSE otherwise.

bool

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

const struct otNetifAddress *

A pointer to the next network interface address.

Public Attribute Documentation#

mAddress#

otIp6Address otNetifAddress::mAddress

The IPv6 unicast address.


mPrefixLength#

uint8_t otNetifAddress::mPrefixLength

The Prefix length (in bits).


mAddressOrigin#

uint8_t otNetifAddress::mAddressOrigin

The IPv6 address origin.


mPreferred#

bool otNetifAddress::mPreferred

TRUE if the address is preferred, FALSE otherwise.


mValid#

bool otNetifAddress::mValid

TRUE if the address is valid, FALSE otherwise.


mScopeOverrideValid#

bool otNetifAddress::mScopeOverrideValid

TRUE if the mScopeOverride value is valid, FALSE otherwise.


mScopeOverride#

unsigned int otNetifAddress::mScopeOverride

The IPv6 scope of this address.


mRloc#

bool otNetifAddress::mRloc

TRUE if the address is an RLOC, FALSE otherwise.


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.