class IPPrefix

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

Internet protocol address prefix

Public Members

IPAddress IPAddr
uint8_t Length
static IPPrefix Zero

Public Methods

bool IsZero ()

Compares the prefix with the distinguished

value.

Returns

if equivalent to

else

bool operator== (const IPPrefix & other)

Compares the prefix with another for equivalence.

Returns

if equivalent, else

bool operator!= (const IPPrefix & other)

Compares the prefix with another for inequivalence.

Returns

if equivalent, else

IPPrefix & operator= (const IPPrefix & other)

Conventional assignment operator.

Parameters

other [in] the prefix to copy.

Returns

a reference to this object.

bool MatchAddress (const IPAddress & addr)

Test if an address matches the prefix.

Parameters

addr [in] the address to test.

Returns

if

has the prefix, else