ost::IPV6Mask(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’… 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.

πŸ’« __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