Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_ipv4mask(3) [debian man page]

ost::IPV4Mask(3)					     Library Functions Manual						  ost::IPV4Mask(3)

NAME
ost::IPV4Mask - Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV4Mask derived object. SYNOPSIS
#include <address.h> Inherits ost::IPV4Address. Public Member Functions IPV4Mask (const char *mask) Create the mask from a null terminated ASCII string such as '255.255.255.128'. IPV4Address & operator= (unsigned long addr) Allows assignment from the return of functions like inet_addr() or htonl() Friends __EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &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 IPV4Mask derived object. The separate class is used so that C++ type casting can automatically determine when an IPV4Address 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. Constructor &; Destructor Documentation ost::IPV4Mask::IPV4Mask (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. Member Function Documentation IPV4Address& ost::IPV4Mask::operator= (unsigned longaddr) [inline] Allows assignment from the return of functions like inet_addr() or htonl() Reimplemented from ost::IPV4Address. References ost::IPV4Address::operator=(). Friends And Related Function Documentation __EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &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. GNU CommonC++ Sat Jun 23 2012 ost::IPV4Mask(3)

Check Out this Related Man Page

ost::IPV6Multicast(3)					     Library Functions Manual					     ost::IPV6Multicast(3)

NAME
ost::IPV6Multicast - A specialization of IPV6Address that provides address validation for multicast addresses. SYNOPSIS
#include <address.h> Inherits ost::IPV6Address. Public Member Functions IPV6Multicast () Create an Internet Multicast Address object with an empty (0.0.0.0) address. IPV6Multicast (const struct in6_addr address) Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object. IPV6Multicast (const char *address) Convert a null terminated ASCII multicast address string (example: '224.0.0.1') or multicast name string (example: 'sap.mcast.net') directly into a Common C++ IPV6Multicast object. Additional Inherited Members Detailed Description A specialization of IPV6Address that provides address validation for multicast addresses. Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown. A multicast network address. Author: Federico Montesino p5087@quintero.fie.us.es Constructor &; Destructor Documentation ost::IPV6Multicast::IPV6Multicast () Create an Internet Multicast Address object with an empty (0.0.0.0) address. ost::IPV6Multicast::IPV6Multicast (const struct in6_addraddress) Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object. Parameters: address struct of system used binary internet address. ost::IPV6Multicast::IPV6Multicast (const char *address) Convert a null terminated ASCII multicast address string (example: '224.0.0.1') or multicast name string (example: 'sap.mcast.net') directly into a Common C++ IPV6Multicast object. Works like IPV6Address(const char*). Parameters: address null terminated C string. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::IPV6Multicast(3)
Man Page