1 Content-type: text/html
3 <HTML><HEAD><TITLE>Manpage of IPSEC_ANYADDR</TITLE>
6 Section: C Library Functions (3)<BR>Updated: 8 Sept 2000<BR><A HREF="#index">Index</A>
7 <A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
10 <A NAME="lbAB"> </A>
13 ipsec anyaddr - get "any" address
16 ipsec isanyaddr - test address for equality to "any" address
19 ipsec unspecaddr - get "unspecified" address
22 ipsec isunspecaddr - test address for equality to "unspecified" address
25 ipsec loopbackaddr - get loopback address
28 ipsec isloopbackaddr - test address for equality to loopback address
29 <A NAME="lbAC"> </A>
32 <B>#include <<A HREF="file:/usr/include/freeswan.h">freeswan.h</A>></B>
35 <B>const char *anyaddr(int af, ip_address *dst);</B>
39 <B>int isanyaddr(const ip_address *src);</B>
43 <B>const char *unspecaddr(int af, ip_address *dst);</B>
47 <B>int isunspecaddr(const ip_address *src);</B>
51 <B>const char *loopbackaddr(int af, ip_address *dst);</B>
55 <B>int isloopbackaddr(const ip_address *src);</B>
57 <A NAME="lbAD"> </A>
60 These functions fill in, and test for, special values of the
68 fills in the destination
71 with the ``any'' address of address family
80 The IPv4 ``any'' address is the one embodied in the old
94 address equals the ``any'' address,
108 the ``unspecified'' address,
109 which may be the same as the ``any'' address.
116 <I>islookbackaddr</I>
119 the loopback address.
133 a pointer to a string-literal error message for failure;
135 <A NAME="lbAE"> </A>
138 <A HREF="inet.3.html">inet</A>(3), <A HREF="ipsec_addrtot.3.html">ipsec_addrtot</A>(3), <A HREF="ipsec_sameaddr.3.html">ipsec_sameaddr</A>(3)
139 <A NAME="lbAF"> </A>
142 Fatal errors in the address-supplying functions are:
143 unknown address family.
144 <A NAME="lbAG"> </A>
147 Written for the FreeS/WAN project by Henry Spencer.
151 <A NAME="index"> </A><H2>Index</H2>
153 <DT><A HREF="#lbAB">NAME</A><DD>
154 <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
155 <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
156 <DT><A HREF="#lbAE">SEE ALSO</A><DD>
157 <DT><A HREF="#lbAF">DIAGNOSTICS</A><DD>
158 <DT><A HREF="#lbAG">HISTORY</A><DD>
161 This document was created by
162 <A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
163 using the manual pages.<BR>
164 Time: 05:09:31 GMT, June 19, 2001