ost::IPV6Mask - Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are
Contents
Constructor & Destructor Documentation
ost::IPV6Mask::IPV6Mask(constchar*mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'.
Parametersmask null terminated ASCII mask string.
Detailed Description
Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the
IPV6Mask derived object.
The separate class is used so that C++ type casting can automatically determine when an IPV6Address
object is really a mask address object rather than simply using the base class. This also allows
manipulative operators for address masking to operate only when presented with a Masked address as well
as providing cleaner and safer source.
Author
David Sugar dyfet@ostel.com
Internet Address Mask such as subnet masks.
Name
ost::IPV6Mask - Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are
held in the IPV6Mask derived object.
Synopsis
#include <address.h>
Inherits ost::IPV6Address.
PublicMemberFunctionsIPV6Mask (const char *mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'.
Friends__EXPORTIPV6Hostoperator& (const IPV6Host &addr, const IPV6Mask &mask)
Masks are usually used to coerce host addresses into a specific router or class domain.
AdditionalInheritedMembers