socat/xio-ip4.h

19 lines
612 B
C
Raw Permalink Normal View History

2008-01-28 16:37:16 -05:00
/* source: xio-ip4.h */
2008-09-22 16:17:55 -04:00
/* Copyright Gerhard Rieger 2001-2008 */
2008-01-27 07:00:08 -05:00
/* Published under the GNU General Public License V.2, see file COPYING */
#ifndef __xio_ip4_h_included
#define __xio_ip4_h_included 1
extern const struct optdesc opt_ip4_add_membership;
int xioparsenetwork_ip4(const char *rangename, struct xiorange *range);
2008-01-27 07:00:08 -05:00
extern
int xiocheckrange_ip4(struct sockaddr_in *pa, struct xiorange *range);
2008-09-22 16:17:55 -04:00
extern int
xiosetsockaddrenv_ip4(int idx, char *namebuff, size_t namelen,
char *valuebuff, size_t valuelen,
struct sockaddr_in *sa, int ipproto);
2008-01-27 07:00:08 -05:00
#endif /* !defined(__xio_ip4_h_included) */