~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to doc/manpage.d/ipsec_subnetof.3.html

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Content-type: text/html
2
 
 
3
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
 
<HTML><HEAD><TITLE>Man page of IPSEC_SUBNETOF</TITLE>
5
 
</HEAD><BODY>
6
 
<H1>IPSEC_SUBNETOF</H1>
7
 
Section: C Library Functions (3)<BR>Updated: 11 June 2001<BR><A HREF="#index">Index</A>
8
 
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
9
 
 
10
 
 
11
 
<A NAME="lbAB">&nbsp;</A>
12
 
<H2>NAME</H2>
13
 
 
14
 
ipsec subnetof - given Internet address and subnet mask, return subnet number
15
 
<BR>
16
 
 
17
 
ipsec hostof - given Internet address and subnet mask, return host part
18
 
<BR>
19
 
 
20
 
ipsec broadcastof - given Internet address and subnet mask, return broadcast address
21
 
<A NAME="lbAC">&nbsp;</A>
22
 
<H2>SYNOPSIS</H2>
23
 
 
24
 
<B>#include &lt;<A HREF="file:///usr/include/freeswan.h">freeswan.h</A>&gt;</B>
25
 
 
26
 
<P>
27
 
<B>struct in_addr subnetof(struct in_addr addr,</B>
28
 
 
29
 
<BR>
30
 
&nbsp;
31
 
<B>struct in_addr mask);</B>
32
 
 
33
 
<BR>
34
 
 
35
 
<B>struct in_addr hostof(struct in_addr addr,</B>
36
 
 
37
 
<BR>
38
 
&nbsp;
39
 
<B>struct in_addr mask);</B>
40
 
 
41
 
<BR>
42
 
 
43
 
<B>struct in_addr broadcastof(struct in_addr addr,</B>
44
 
 
45
 
<BR>
46
 
&nbsp;
47
 
<B>struct in_addr mask);</B>
48
 
 
49
 
<A NAME="lbAD">&nbsp;</A>
50
 
<H2>DESCRIPTION</H2>
51
 
 
52
 
These functions are obsolete; see
53
 
<I><A HREF="/cgi-bin/man/man2html?3+ipsec_networkof">ipsec_networkof</A></I>(3)
54
 
 
55
 
for their replacements.
56
 
<P>
57
 
 
58
 
<I>Subnetof</I>
59
 
 
60
 
takes an Internet
61
 
<I>address</I>
62
 
 
63
 
and a subnet
64
 
<I>mask</I>
65
 
 
66
 
and returns the network part of the address
67
 
(all in network byte order).
68
 
<I>Hostof</I>
69
 
 
70
 
similarly returns the host part, and
71
 
<I>broadcastof</I>
72
 
 
73
 
returns the broadcast address (all-1s convention) for the network.
74
 
<P>
75
 
 
76
 
These functions are provided to hide the Internet bit-munging inside
77
 
an API, in hopes of easing the eventual transition to IPv6.
78
 
<A NAME="lbAE">&nbsp;</A>
79
 
<H2>SEE ALSO</H2>
80
 
 
81
 
<A HREF="/cgi-bin/man/man2html?3+inet">inet</A>(3), <A HREF="/cgi-bin/man/man2html?3+ipsec_atosubnet">ipsec_atosubnet</A>(3)
82
 
<A NAME="lbAF">&nbsp;</A>
83
 
<H2>HISTORY</H2>
84
 
 
85
 
Written for the FreeS/WAN project by Henry Spencer.
86
 
<A NAME="lbAG">&nbsp;</A>
87
 
<H2>BUGS</H2>
88
 
 
89
 
Calling functions for this is more costly than doing it yourself.
90
 
<P>
91
 
 
92
 
<HR>
93
 
<A NAME="index">&nbsp;</A><H2>Index</H2>
94
 
<DL>
95
 
<DT><A HREF="#lbAB">NAME</A><DD>
96
 
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
97
 
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
98
 
<DT><A HREF="#lbAE">SEE ALSO</A><DD>
99
 
<DT><A HREF="#lbAF">HISTORY</A><DD>
100
 
<DT><A HREF="#lbAG">BUGS</A><DD>
101
 
</DL>
102
 
<HR>
103
 
This document was created by
104
 
<A HREF="/cgi-bin/man/man2html">man2html</A>,
105
 
using the manual pages.<BR>
106
 
Time: 10:29:43 GMT, June 17, 2004
107
 
</BODY>
108
 
</HTML>