ost::IPV6Mask(3)
π ost::IPV6Mask β from the GNU CommonC++ Library Functions Manual π
okay bestie, sit down, hydrate, and let's talk about ost::IPV6Mask β¨
πΈ 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. yep, it's giving nepo baby but make it networking π
π Public Member Functions π
IPV6Mask(const char *mask)β Create the mask from a null terminated ASCII string such as '255.255.255.128'. π
π Friends π
__EXPORT IPV6Host operator&(const IPV6Host &addr, const IPV6Mask &mask)β Masks are usually used to coerce host addresses into a specific router or class domain. π₯
β Additional Inherited Members β
π Detailed Description π
Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV6Mask derived object. no cap π
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. iconic behavior honestly π«Ά
Author
- David Sugar
dyfet@ostel.com
Internet Address Mask such as subnet masks. πΈ
π§ Constructor & Destructor Documentation π§
π ost::IPV6Mask::IPV6Mask (const char * mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'. β¨
Parameters
maskβ null terminated ASCII mask string.
π Friends And Related Function Documentation π
π« __EXPORT IPV6Host operator& (const IPV6Host & addr, const IPV6Mask & mask)
[friend] π«
Masks are usually used to coerce host addresses into a specific router or class domain. This can be done by taking the Inet Host Address object and 'and'ing it with an address mask. This operation can be directly expressed in C++ through the & operator. π₯
Returns
- a internet host address that has been masked.
Parameters
addrβ host address to be masked by subnet.maskβ inetnet mask address object to mask by.
π Author π
Generated automatically by Doxygen for GNU CommonC++ from the source code. π€π
and that's the whole page bestie, we ate and left no crumbs π½οΈβ¨ this was ost::IPV6Mask(3), brought to you by GNU CommonC++, dated Sun Dec 27 2020 β mwah, periodt π
ππ¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms