Version 1.8.0.0
[socat.git] / xio-ip4.h
blobed081cb2d2f6fb8068c9eb5694c9a4bfb4da96b1
1 /* source: xio-ip4.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_ip4_h_included
6 #define __xio_ip4_h_included 1
8 extern const struct optdesc opt_ip4_add_membership;
10 extern int xioparsenetwork_ip4(const char *rangename, struct xiorange *range, const int ai_flags[2]);
11 extern
12 int xiocheckrange_ip4(struct sockaddr_in *pa, struct xiorange *range);
13 extern int
14 xiosetsockaddrenv_ip4(int idx, char *namebuff, size_t namelen,
15 char *valuebuff, size_t valuelen,
16 struct sockaddr_in *sa, int ipproto);
18 #endif /* !defined(__xio_ip4_h_included) */