1
2
3
4
5
6
7
8 #ifndef _NCP_FS_SB
9 #define _NCP_FS_SB
10
11 #include <linux/ncp_mount.h>
12 #include <linux/types.h>
13
14 #ifdef __KERNEL__
15
16 #define NCP_DEFAULT_BUFSIZE 1024
17
18 struct ncp_server {
19
20 struct ncp_mount_data m;
21
22
23
24 struct file *ncp_filp;
25
26 struct file *wdog_filp;
27 void *data_ready;
28
29
30
31
32 u8 sequence;
33 u8 task;
34 u16 connection;
35
36 u8 completion;
37 u8 conn_status;
38
39
40 int buffer_size;
41
42 int reply_size;
43
44 int packet_size;
45 unsigned char *packet;
46
47
48 int lock;
49 struct wait_queue *wait;
50
51 int current_size;
52 int has_subfunction;
53 int ncp_reply_size;
54
55 struct ncp_inode_info root;
56 char root_path;
57 };
58
59 #endif
60
61 #endif