From aa0f5b38aec14428b4b80e06f90ff781f8bca5f1 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Mon, 22 May 2006 05:12:18 +0000 Subject: Import initial strongswan 2.7.0 version into SVN. --- doc/manpage.d/ipsec_hostof.3.html | 107 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 doc/manpage.d/ipsec_hostof.3.html (limited to 'doc/manpage.d/ipsec_hostof.3.html') diff --git a/doc/manpage.d/ipsec_hostof.3.html b/doc/manpage.d/ipsec_hostof.3.html new file mode 100644 index 000000000..57d4a5648 --- /dev/null +++ b/doc/manpage.d/ipsec_hostof.3.html @@ -0,0 +1,107 @@ +Content-type: text/html + +Manpage of IPSEC_SUBNETOF + +

IPSEC_SUBNETOF

+Section: C Library Functions (3)
Updated: 11 June 2001
Index +Return to Main Contents
+ + +  +

NAME

+ +ipsec subnetof - given Internet address and subnet mask, return subnet number +
+ +ipsec hostof - given Internet address and subnet mask, return host part +
+ +ipsec broadcastof - given Internet address and subnet mask, return broadcast address +  +

SYNOPSIS

+ +#include <freeswan.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 replacements. +

+ +Subnetof + +takes an Internet +address + +and a subnet +mask + +and returns the network part of the address +(all in network byte order). +Hostof + +similarly 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. +

+ +


+ 

Index

+
+
NAME
+
SYNOPSIS
+
DESCRIPTION
+
SEE ALSO
+
HISTORY
+
BUGS
+
+
+This document was created by +man2html, +using the manual pages.
+Time: 21:40:17 GMT, November 11, 2003 + + -- cgit v1.2.3