source: trunk/minix/servers/inet/generic/udp.h@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 776 bytes
Line 
1/*
2udp.h
3
4Copyright 1995 Philip Homburg
5*/
6
7#ifndef UDP_H
8#define UDP_H
9
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
15
16#define UDP0 0
17
18struct acc;
19
20void udp_prep ARGS(( void ));
21void udp_init ARGS(( void ));
22int 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 ));
25int udp_ioctl ARGS(( int fd, ioreq_t req ));
26int udp_read ARGS(( int fd, size_t count ));
27int udp_write ARGS(( int fd, size_t count ));
28void udp_close ARGS(( int fd ));
29int udp_cancel ARGS(( int fd, int which_operation ));
30
31#endif /* UDP_H */
32
33
34/*
35 * $PchId: udp.h,v 1.9 2005/06/28 14:12:05 philip Exp $
36 */
Note: See TracBrowser for help on using the repository browser.