ost::IPV6Cidr(3) | Library Functions Manual | ost::IPV6Cidr(3) |
ost::IPV6Cidr - The CIDR class is used to support routing tables and validate address policies.
#include <address.h>
struct in6_addr getNetwork (void) const
Get network address associated with this cidr. struct in6_addr
getNetmask (void) const
Get network mask associated with this cidr. struct in6_addr
getBroadcast (void) const
Compute the broadcast address associated with this cidr. void set
(const char *cidr)
Set the cidr from a full or partial hostname, or from a host/bits
specification. IPV6Cidr (const char *cidr)
Construct a new cidr from a string. IPV6Cidr ()
Construct an empty cidr. IPV6Cidr (IPV6Cidr &)
Construct a copy of a cidr. bool isMember (const struct sockaddr
*saddr) const
See if a socket address is a member of this cidr's network. bool
isMember (const struct in6_addr &inaddr) const
See if a low level address object is a member of this cidr's net. bool
operator== (const struct sockaddr *sa) const
bool operator== (const struct in6_addr &a) const
unsigned getMask (const char *cp) const
struct in6_addr netmask network
The CIDR class is used to support routing tables and validate address policies.
Author:
Construct a new cidr from a string.
Parameters:
Construct an empty cidr.
Construct a copy of a cidr.
Parameters:
Compute the broadcast address associated with this cidr.
Returns:
Get network mask associated with this cidr.
Returns:
Get network address associated with this cidr.
Returns:
See if a socket address is a member of this cidr's network.
Parameters:
Returns:
See if a low level address object is a member of this cidr's net.
Parameters:
Returns:
Set the cidr from a full or partial hostname, or from a host/bits specification.
Parameters:
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Wed Oct 31 2018 | GNU CommonC++ |