1 /* source: xio-udp.h */
2 /* Copyright Gerhard Rieger 2001-2007 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_udp_h_included
6 #define __xio_udp_h_included 1
8 extern const struct addrdesc addr_udp_connect
;
9 extern const struct addrdesc addr_udp_listen
;
10 extern const struct addrdesc addr_udp_sendto
;
11 extern const struct addrdesc addr_udp_datagram
;
12 extern const struct addrdesc addr_udp_recvfrom
;
13 extern const struct addrdesc addr_udp_recv
;
14 extern const struct addrdesc addr_udp4_connect
;
15 extern const struct addrdesc addr_udp4_listen
;
16 extern const struct addrdesc addr_udp4_sendto
;
17 extern const struct addrdesc addr_udp4_datagram
;
18 extern const struct addrdesc addr_udp4_recvfrom
;
19 extern const struct addrdesc addr_udp4_recv
;
20 extern const struct addrdesc addr_udp6_connect
;
21 extern const struct addrdesc addr_udp6_listen
;
22 extern const struct addrdesc addr_udp6_sendto
;
23 extern const struct addrdesc addr_udp6_datagram
;
24 extern const struct addrdesc addr_udp6_recvfrom
;
25 extern const struct addrdesc addr_udp6_recv
;
27 extern int xioopen_ipdgram_listen(int argc
, const char *argv
[], struct opt
*opts
,
28 int rw
, xiofile_t
*fd
,
29 unsigned groups
, int af
, int ipproto
,
32 #endif /* !defined(__xio_udp_h_included) */