Public Methods |
| struct in6_addr | getNetwork (void) const |
| | Get network address associated with this cidr. More...
|
| struct in6_addr | getNetmask (void) const |
| | Get network mask associated with this cidr. More...
|
| struct in6_addr | getBroadcast (void) const |
| | Compute the broadcast address associated with this cidr. More...
|
| void | set (const char *cidr) |
| | Set the cidr from a full or partial hostname, or from a host/bits specification. More...
|
| | IPV6Cidr (const char *cidr) |
| | Construct a new cidr from a string. More...
|
| | IPV6Cidr () |
| | Construct an empty cidr. More...
|
| | IPV6Cidr (IPV6Cidr &) |
| | Construct a copy of a cidr. More...
|
| bool | isMember (const struct sockaddr *saddr) const |
| | See if a socket address is a member of this cidr's network. More...
|
| bool | isMember (const struct in6_addr &inaddr) const |
| | See if a low level address object is a member of this cidr's net. More...
|
| bool | operator== (const struct sockaddr *sa) const |
| bool | operator== (const struct in6_addr &a) const |
Protected Methods |
| unsigned | getMask (const char *cp) const |
Protected Attributes |
| struct in6_addr netmask | network |