class InterfaceAddressIterator

Defined at line 183 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetInterface.h

Iterator for the list of system network interface IP addresses.

Methods on an individual instance of this class are *not* thread-safe;

however separate instances may be used simultaneously by multiple threads.

On multi-threaded LwIP systems, instances are thread-safe relative to other

threads accessing the global LwIP state provided that: 1) other threads hold

the LwIP core lock while mutating the list of netifs; and 2) netif object

themselves are never destroyed.

On sockets-based systems, iteration is always stable in the face of changes

to the underlying system's interfaces and/or addresses.

On LwIP systems, iteration is stable except in the case where the interface

associated with the current address is removed, in which case iteration may

end prematurely.

Public Methods

void InterfaceAddressIterator ()
void ~InterfaceAddressIterator ()
bool HasCurrent ()
bool Next ()
IPAddress GetAddress ()
uint8_t GetPrefixLength ()
uint8_t GetIPv6PrefixLength ()

Deprecated alias for

Defined at line 272 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetInterface.h

void GetAddressWithPrefix (IPPrefix & addrWithPrefix)
InterfaceId GetInterface ()

Deprecated alias for

Defined at line 264 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetInterface.h

InterfaceId GetInterfaceId ()
INET_ERROR GetInterfaceName (char * nameBuf, size_t nameBufSize)
bool IsUp ()
bool SupportsMulticast ()
bool HasBroadcastAddress ()