socat/xio-udp.h

33 lines
1.5 KiB
C
Raw Permalink Normal View History

2008-01-27 12:00:08 +00:00
/* $Id: xio-udp.h,v 1.12 2007/02/05 19:57:09 gerhard Exp $ */
/* Copyright Gerhard Rieger 2001-2007 */
/* Published under the GNU General Public License V.2, see file COPYING */
#ifndef __xio_udp_h_included
#define __xio_udp_h_included 1
2008-02-24 10:09:01 +00:00
extern const union xioaddr_desc *xioaddrs_udp_connect[];
extern const union xioaddr_desc *xioaddrs_udp_listen[];
extern const union xioaddr_desc *xioaddrs_udp_sendto[];
extern const union xioaddr_desc *xioaddrs_udp_datagram[];
extern const union xioaddr_desc *xioaddrs_udp_recvfrom[];
extern const union xioaddr_desc *xioaddrs_udp_recv[];
extern const union xioaddr_desc *xioaddrs_udp4_connect[];
extern const union xioaddr_desc *xioaddrs_udp4_listen[];
extern const union xioaddr_desc *xioaddrs_udp4_sendto[];
extern const union xioaddr_desc *xioaddrs_udp4_datagram[];
extern const union xioaddr_desc *xioaddrs_udp4_recvfrom[];
extern const union xioaddr_desc *xioaddrs_udp4_recv[];
extern const union xioaddr_desc *xioaddrs_udp6_connect[];
extern const union xioaddr_desc *xioaddrs_udp6_listen[];
extern const union xioaddr_desc *xioaddrs_udp6_sendto[];
extern const union xioaddr_desc *xioaddrs_udp6_datagram[];
extern const union xioaddr_desc *xioaddrs_udp6_recvfrom[];
extern const union xioaddr_desc *xioaddrs_udp6_recv[];
2008-01-27 12:00:08 +00:00
extern int xioopen_ipdgram_listen(int argc, const char *argv[], struct opt *opts,
int rw, xiofile_t *fd,
unsigned groups, int af, int ipproto,
int protname);
#endif /* !defined(__xio_udp_h_included) */