1 .TH IPSEC_ANYADDR 3 "8 Sept 2000"
2 .\" RCSID $Id: anyaddr.3,v 1.2 2000/09/08 18:09:09 henry Exp $
4 ipsec anyaddr \- get "any" address
6 ipsec isanyaddr \- test address for equality to "any" address
8 ipsec unspecaddr \- get "unspecified" address
10 ipsec isunspecaddr \- test address for equality to "unspecified" address
12 ipsec loopbackaddr \- get loopback address
14 ipsec isloopbackaddr \- test address for equality to loopback address
16 .B "#include <freeswan.h>
18 .B "const char *anyaddr(int af, ip_address *dst);"
20 .B "int isanyaddr(const ip_address *src);"
22 .B "const char *unspecaddr(int af, ip_address *dst);"
24 .B "int isunspecaddr(const ip_address *src);"
26 .B "const char *loopbackaddr(int af, ip_address *dst);"
28 .B "int isloopbackaddr(const ip_address *src);"
30 These functions fill in, and test for, special values of the
35 fills in the destination
37 with the ``any'' address of address family
43 The IPv4 ``any'' address is the one embodied in the old
52 address equals the ``any'' address,
62 the ``unspecified'' address,
63 which may be the same as the ``any'' address.
79 a pointer to a string-literal error message for failure;
82 inet(3), ipsec_addrtot(3), ipsec_sameaddr(3)
84 Fatal errors in the address-supplying functions are:
85 unknown address family.
87 Written for the FreeS/WAN project by Henry Spencer.