class InterfaceIterator

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

Iterator for the list of system network interfaces.

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 the other threads hold

the LwIP core lock while mutating the list of netifs, and that 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.

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

selected interface is removed from the list, in which case iteration ends

immediately.

Protected Members

struct if_nameindex * mIntfArray
size_t mCurIntf
short mIntfFlags
bool mIntfFlagsCached

Public Methods

void InterfaceIterator ()
void ~InterfaceIterator ()
bool HasCurrent ()
bool Next ()
InterfaceId GetInterface ()

Deprecated alias for

Defined at line 256 of file 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 ()

Protected Methods

short GetFlags ()