The Pedigree Project
0.1
|
Public Types | |
enum | IpType { IPv4 = 0, IPv6 } |
Public Member Functions | |
IpAddress () | |
IpAddress (IpType type) | |
IpAddress (uint32_t ipv4) | |
IpAddress (uint8_t *ipv6) | |
void | setIp (uint32_t ipv4) |
void | setIp (uint8_t *ipv6) |
uint32_t | getIp () |
void | getIp (uint8_t *ipv6) |
IpType | getType () |
IpAddress & | operator= (IpAddress a) |
IpAddress & | operator= (uint32_t a) |
bool | operator== (IpAddress a) |
bool | operator== (uint32_t a) |
string | toString () |
Private Attributes | |
IpType | m_Type |
uint32_t | m_Ipv4 |
uint8_t | m_Ipv6 [16] |
bool | m_bSet |
An IPv4/IPv6 address
Definition at line 44 of file user/applications/netconfig/main.cc.
The type of an IP address
Definition at line 48 of file user/applications/netconfig/main.cc.
|
inline |
Constructors
Definition at line 55 of file user/applications/netconfig/main.cc.
|
inline |
IP getters
Definition at line 84 of file user/applications/netconfig/main.cc.
Referenced by operator=().
|
inline |
Type getter
Definition at line 97 of file user/applications/netconfig/main.cc.
Referenced by operator=().
Operators
Definition at line 104 of file user/applications/netconfig/main.cc.
References getIp(), getType(), and operator==().
|
inline |
IP setters - only one type is valid at any one point in time
Definition at line 66 of file user/applications/netconfig/main.cc.
|
inline |
Definition at line 143 of file user/applications/netconfig/main.cc.