ipsec_hostof man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

IPSEC_SUBNETOF(3)					     IPSEC_SUBNETOF(3)

NAME
       ipsec_subnetof,	 ipsec_hostof,	 ipsec_broadcastof  -  given  Internet
       address and subnet mask return  subnet  number,	host  part,  broadcast
       address

SYNOPSIS
       #include <libreswan.h>

       struct in_addr subnetof(struct in_addr addr,
	   struct in_addr mask);
       struct in_addr hostof(struct in_addr addr,
	   struct in_addr mask);
       struct in_addr broadcastof(struct in_addr addr,
	   struct in_addr mask);

DESCRIPTION
       These functions are obsolete; see ipsec_networkof(3) for their replace‐
       ments.

       Subnetof takes an Internet address and a subnet mask  and  returns  the
       network	part of the address (all in network byte order).  Hostof simi‐
       larly returns the host part,  and  broadcastof  returns	the  broadcast
       address (all-1s convention) for the network.

       These functions are provided to hide the Internet bit-munging inside an
       API, in hopes of easing the eventual transition to IPv6.

SEE ALSO
       inet(3), ipsec_atosubnet(3)

HISTORY
       Written for the FreeS/WAN project by Henry Spencer.

BUGS
       Calling functions for this is more costly than doing it yourself.

				 11 June 2001		     IPSEC_SUBNETOF(3)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net