Solve a problem with overlapping socket and openssl parameters
[socat.git] / xio-ip.h
blob8b3c9222f597563cecf7640d78d083fbdd301806
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_add_source_membership;
28 extern const struct optdesc opt_ip_recvdstaddr;
29 extern const struct optdesc opt_ip_recvif;
30 extern const struct optdesc opt_ip_transparent;
32 extern const struct optdesc opt_res_debug;
33 extern const struct optdesc opt_res_aaonly;
34 extern const struct optdesc opt_res_usevc;
35 extern const struct optdesc opt_res_primary;
36 extern const struct optdesc opt_res_igntc;
37 extern const struct optdesc opt_res_recurse;
38 extern const struct optdesc opt_res_defnames;
39 extern const struct optdesc opt_res_stayopen;
40 extern const struct optdesc opt_res_dnsrch;
42 extern int xiogetaddrinfo(const char *node, const char *service,
43 int family, int socktype, int protocol,
44 union sockaddr_union *sa, socklen_t *socklen,
45 unsigned long res_opts0, unsigned long res_opts1);
46 extern
47 int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num,
48 char *typbuff, int typlen,
49 char *nambuff, int namlen,
50 char *envbuff, int envlen,
51 char *valbuff, int vallen);
52 extern int xiotype_ip_add_source_membership(char* token, const struct optname *ent, struct opt *opt);
53 extern int xioapply_ip_add_source_membership(struct single *xfd, struct opt *opt);
55 #endif /* !defined(__xio_ip_h_included) */