HDK
|
#include <UT_IpAddress.h>
Public Types | |
using | address_t = UT_IpAddressV4 |
Public Member Functions | |
UT_IpNetworkV4 () | |
UT_IpNetworkV4 (const address_t &address, uint16 prefix_length) | |
UT_IpNetworkV4 (const UT_IpNetworkV4 &net) | |
UT_IpNetworkV4 & | operator= (const UT_IpNetworkV4 &other) |
bool | operator== (const UT_IpNetworkV4 &other) const |
bool | operator!= (const UT_IpNetworkV4 &other) const |
SYS_NO_DISCARD_RESULT const address_t & | address () const |
SYS_NO_DISCARD_RESULT address_t | netmask () const |
SYS_NO_DISCARD_RESULT address_t | network () const |
SYS_NO_DISCARD_RESULT UT_IpNetworkV4 | canonical () const |
SYS_NO_DISCARD_RESULT uint16_t | prefixLength () const |
SYS_NO_DISCARD_RESULT bool | isHost () const |
SYS_NO_DISCARD_RESULT bool | isSubnetOf (const UT_IpNetworkV4 &other) const |
SYS_NO_DISCARD_RESULT UT_StringHolder | toString () const |
Static Public Member Functions | |
static SYS_NO_DISCARD_RESULT UT_IpNetworkV4 | fromString (const UT_StringRef &str) |
static SYS_NO_DISCARD_RESULT UT_IpNetworkV4 | loopback () |
Static Public Attributes | |
static constexpr uint32_t | host_address_len = 32 |
Definition at line 385 of file UT_IpAddress.h.
Definition at line 388 of file UT_IpAddress.h.
|
inline |
Definition at line 391 of file UT_IpAddress.h.
Definition at line 395 of file UT_IpAddress.h.
|
inline |
Definition at line 400 of file UT_IpAddress.h.
|
inline |
Definition at line 421 of file UT_IpAddress.h.
|
inline |
Definition at line 430 of file UT_IpAddress.h.
|
static |
|
inline |
Definition at line 435 of file UT_IpAddress.h.
SYS_NO_DISCARD_RESULT bool UT_IpNetworkV4::isSubnetOf | ( | const UT_IpNetworkV4 & | other | ) | const |
|
inlinestatic |
Definition at line 443 of file UT_IpAddress.h.
SYS_NO_DISCARD_RESULT address_t UT_IpNetworkV4::netmask | ( | ) | const |
|
inline |
Definition at line 426 of file UT_IpAddress.h.
|
inline |
Definition at line 415 of file UT_IpAddress.h.
|
inline |
Definition at line 404 of file UT_IpAddress.h.
|
inline |
Definition at line 410 of file UT_IpAddress.h.
|
inline |
Definition at line 434 of file UT_IpAddress.h.
|
inline |
Definition at line 437 of file UT_IpAddress.h.
|
static |
Definition at line 389 of file UT_IpAddress.h.