libfluid
The ONF OpenFlow driver
Public Member Functions | Static Public Member Functions | List of all members
fluid_msg::IPAddress Class Reference

Public Member Functions

 IPAddress (const char *address)
 
 IPAddress (const std::string &address)
 
 IPAddress (const IPAddress &other)
 
 IPAddress (const uint32_t ip_addr)
 
 IPAddress (const uint8_t ip_addr[16])
 
 IPAddress (const struct in_addr &ip_addr)
 
 IPAddress (const struct in6_addr &ip_addr)
 
IPAddressoperator= (const IPAddress &other)
 
bool operator== (const IPAddress &other) const
 
int get_version () const
 
void setIPv4 (uint32_t address)
 
void setIPv6 (uint8_t address[16])
 
uint32_t getIPv4 ()
 
uint8_t * getIPv6 ()
 

Static Public Member Functions

static uint32_t IPv4from_string (const std::string &address)
 
static struct in6_addr IPv6from_string (const std::string &address)
 

The documentation for this class was generated from the following file: