add/re-enable at_wini debug output
[minix3.git] / servers / inet / generic / udp.h
blob4a0b582909c029f3f0feb73bc0d27909815c733e
1 /*
2 udp.h
4 Copyright 1995 Philip Homburg
5 */
7 #ifndef UDP_H
8 #define UDP_H
10 #define UDP_DEF_OPT NWUO_NOFLAGS
11 #define UDP_MAX_DATAGRAM 40000 /* 8192 */
12 #define UDP_READ_EXP_TIME (10L * HZ)
13 #define UDP_TOS 0
14 #define UDP_IP_FLAGS 0
16 #define UDP0 0
18 struct acc;
20 void udp_prep ARGS(( void ));
21 void udp_init ARGS(( void ));
22 int udp_open ARGS(( int port, int srfd,
23 get_userdata_t get_userdata, put_userdata_t put_userdata,
24 put_pkt_t put_pkt, select_res_t select_res ));
25 int udp_ioctl ARGS(( int fd, ioreq_t req ));
26 int udp_read ARGS(( int fd, size_t count ));
27 int udp_write ARGS(( int fd, size_t count ));
28 void udp_close ARGS(( int fd ));
29 int udp_cancel ARGS(( int fd, int which_operation ));
31 #endif /* UDP_H */
35 * $PchId: udp.h,v 1.9 2005/06/28 14:12:05 philip Exp $