6 Created: Aug 2004 by Philip Homburg <philip@f-mnx.phicoh.com>
9 #define FD_NR (16*IP_PORT_MAX)
16 endpoint_t srf_select_proc
;
22 sr_cancel_t srf_cancel
;
23 sr_select_t srf_select
;
24 mq_t
*srf_ioctl_q
, *srf_ioctl_q_tail
;
25 mq_t
*srf_read_q
, *srf_read_q_tail
;
26 mq_t
*srf_write_q
, *srf_write_q_tail
;
32 # define SFF_FREE 0x00
33 # define SFF_MINOR 0x01
34 # define SFF_INUSE 0x02
36 # define SFF_IOCTL_IP 0x04
37 # define SFF_READ_IP 0x08
38 # define SFF_WRITE_IP 0x10
39 #define SFF_SUSPENDED 0x1C0
40 # define SFF_IOCTL_SUSP 0x40
41 # define SFF_READ_SUSP 0x80
42 # define SFF_WRITE_SUSP 0x100
43 #define SFF_IOCTL_FIRST 0x200
44 #define SFF_READ_FIRST 0x400
45 #define SFF_WRITE_FIRST 0x800
46 #define SFF_SELECT_R 0x1000
47 #define SFF_SELECT_W 0x2000
48 #define SFF_SELECT_X 0x4000
50 EXTERN sr_fd_t sr_fd_table
[FD_NR
];
53 * $PchId: sr_int.h,v 1.2 2005/06/28 14:28:17 philip Exp $