Apache Mesos
|
#include <ip.hpp>
Public Member Functions | |
IPv4 (const in_addr &in) | |
IPv4 (uint32_t ip) | |
in_addr | in () const |
Public Member Functions inherited from net::IP | |
IP (const struct in_addr &_storage) | |
IP (const struct in6_addr &_storage) | |
IP (uint32_t _ip) | |
int | family () const |
Try< struct in_addr > | in () const |
Try< struct in6_addr > | in6 () const |
bool | isLoopback () const |
bool | isAny () const |
bool | operator== (const IP &that) const |
bool | operator!= (const IP &that) const |
bool | operator< (const IP &that) const |
bool | operator> (const IP &that) const |
Static Public Member Functions | |
static IPv4 | LOOPBACK () |
static IPv4 | ANY () |
static Try< IPv4 > | parse (const std::string &value) |
Static Public Member Functions inherited from net::IP | |
static Try< IP > | parse (const std::string &value, int family=AF_UNSPEC) |
static Try< IP > | create (const struct sockaddr_storage &_storage) |
static Try< IP > | create (const struct sockaddr &_storage) |
Additional Inherited Members | |
Protected Member Functions inherited from net::IP | |
void | clear () |
Protected Attributes inherited from net::IP | |
int | family_ |
Storage | storage_ |
|
inlineexplicit |
|
inlineexplicit |
|
inlinestatic |
|
inline |
|
inlinestatic |