mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
36 lines
1.4 KiB
C
36 lines
1.4 KiB
C
/* source: xio-udp.h */
|
|
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
#ifndef __xio_udp_h_included
|
|
#define __xio_udp_h_included 1
|
|
|
|
extern const struct addrdesc addr_udp_connect;
|
|
extern const struct addrdesc addr_udp_listen;
|
|
extern const struct addrdesc addr_udp_sendto;
|
|
extern const struct addrdesc addr_udp_datagram;
|
|
extern const struct addrdesc addr_udp_recvfrom;
|
|
extern const struct addrdesc addr_udp_recv;
|
|
extern const struct addrdesc addr_udp4_connect;
|
|
extern const struct addrdesc addr_udp4_listen;
|
|
extern const struct addrdesc addr_udp4_sendto;
|
|
extern const struct addrdesc addr_udp4_datagram;
|
|
extern const struct addrdesc addr_udp4_recvfrom;
|
|
extern const struct addrdesc addr_udp4_recv;
|
|
extern const struct addrdesc addr_udp6_connect;
|
|
extern const struct addrdesc addr_udp6_listen;
|
|
extern const struct addrdesc addr_udp6_sendto;
|
|
extern const struct addrdesc addr_udp6_datagram;
|
|
extern const struct addrdesc addr_udp6_recvfrom;
|
|
extern const struct addrdesc addr_udp6_recv;
|
|
|
|
extern int _xioopen_ipdgram_listen(struct single *sfd,
|
|
int xioflags, union sockaddr_union *us, socklen_t uslen,
|
|
struct opt *opts, int pf, int socktype, int ipproto);
|
|
|
|
extern int xioopen_ipdgram_listen(int argc, const char *argv[], struct opt *opts,
|
|
int rw, xiofile_t *fd,
|
|
groups_t groups, int af, int ipproto,
|
|
int protname);
|
|
|
|
#endif /* !defined(__xio_udp_h_included) */
|