0.01.00
ot::Ip6::NetifUnicastAddress Class Reference

This class implements an IPv6 network interface unicast address. More...

#include <src/core/net/netif.hpp>

Inheritance diagram for ot::Ip6::NetifUnicastAddress:
otNetifAddress

Public Member Functions

const AddressGetAddress (void) const
 This method returns the unicast address. More...
 
AddressGetAddress (void)
 This method returns the unicast address. More...
 
uint8_t GetScope (void) const
 This method returns the IPv6 scope value. More...
 
const NetifUnicastAddressGetNext (void) const
 This method returns the next unicast address assigned to the interface. More...
 
NetifUnicastAddressGetNext (void)
 This method returns the next unicast address assigned to the interface. More...
 

Friends

class Netif
 

Additional Inherited Members

- Public Attributes inherited from otNetifAddress
otIp6Address mAddress
 The IPv6 unicast address.
 
uint8_t mPrefixLength
 The Prefix length.
 
bool mPreferred: 1
 TRUE if the address is preferred, FALSE otherwise.
 
bool mValid: 1
 TRUE if the address is valid, FALSE otherwise.
 
bool mScopeOverrideValid: 1
 TRUE if the mScopeOverride value is valid, FALSE otherwise.
 
unsigned int mScopeOverride: 4
 The IPv6 scope of this address.
 
bool mRloc: 1
 TRUE if the address is an RLOC, FALSE otherwise.
 
struct otNetifAddressmNext
 A pointer to the next network interface address.
 

Detailed Description

This class implements an IPv6 network interface unicast address.

Member Function Documentation

§ GetAddress() [1/2]

const Address& ot::Ip6::NetifUnicastAddress::GetAddress ( void  ) const
inline

This method returns the unicast address.

Returns
The unicast address.

§ GetAddress() [2/2]

Address& ot::Ip6::NetifUnicastAddress::GetAddress ( void  )
inline

This method returns the unicast address.

Returns
The unicast address.

§ GetNext() [1/2]

const NetifUnicastAddress* ot::Ip6::NetifUnicastAddress::GetNext ( void  ) const
inline

This method returns the next unicast address assigned to the interface.

Returns
A pointer to the next unicast address.

§ GetNext() [2/2]

NetifUnicastAddress* ot::Ip6::NetifUnicastAddress::GetNext ( void  )
inline

This method returns the next unicast address assigned to the interface.

Returns
A pointer to the next unicast address.

§ GetScope()

uint8_t ot::Ip6::NetifUnicastAddress::GetScope ( void  ) const
inline

This method returns the IPv6 scope value.

Returns
The IPv6 scope value.

The documentation for this class was generated from the following file: