More corrections to test.sh: language; netstat; reuseaddr; usleep; force IPv4; timeout
[socat.git] / xio-ip.h
blobeb744d847fd209974f9206c4103c684aea0d1a56
1 /* source: xio-ip.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_ip_h_included
6 #define __xio_ip_h_included 1
8 extern const struct optdesc opt_ip_options;
9 extern const struct optdesc opt_ip_pktinfo;
10 extern const struct optdesc opt_ip_recvtos;
11 extern const struct optdesc opt_ip_recvttl;
12 extern const struct optdesc opt_ip_recvopts;
13 extern const struct optdesc opt_ip_retopts;
14 extern const struct optdesc opt_ip_tos;
15 extern const struct optdesc opt_ip_ttl;
16 extern const struct optdesc opt_ip_hdrincl;
17 extern const struct optdesc opt_ip_recverr;
18 extern const struct optdesc opt_ip_mtu_discover;
19 extern const struct optdesc opt_ip_mtu;
20 extern const struct optdesc opt_ip_freebind;
21 extern const struct optdesc opt_ip_router_alert;
22 extern const struct optdesc opt_ip_multicast_ttl;
23 extern const struct optdesc opt_ip_multicast_loop;
24 extern const struct optdesc opt_ip_multicast_if;
25 extern const struct optdesc opt_ip_pktoptions;
26 extern const struct optdesc opt_ip_add_membership;
27 extern const struct optdesc opt_ip_recvdstaddr;
28 extern const struct optdesc opt_ip_recvif;
30 extern const struct optdesc opt_res_debug;
31 extern const struct optdesc opt_res_aaonly;
32 extern const struct optdesc opt_res_usevc;
33 extern const struct optdesc opt_res_primary;
34 extern const struct optdesc opt_res_igntc;
35 extern const struct optdesc opt_res_recurse;
36 extern const struct optdesc opt_res_defnames;
37 extern const struct optdesc opt_res_stayopen;
38 extern const struct optdesc opt_res_dnsrch;
40 extern int xiogetaddrinfo(const char *node, const char *service,
41 int family, int socktype, int protocol,
42 union sockaddr_union *sa, socklen_t *socklen,
43 unsigned long res_opts0, unsigned long res_opts1);
44 extern
45 int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num,
46 char *typbuff, int typlen,
47 char *nambuff, int namlen,
48 char *envbuff, int envlen,
49 char *valbuff, int vallen);
51 #endif /* !defined(__xio_ip_h_included) */