|
|
1.1 root 1: #define NETVERSION 1 /* protocol variant */
2:
3: #define NSTAT 1
4: #define NWRT 2
5: #define NREAD 3
6: #define NFREE 4
7: #define NTRUNC 5
8: #define NUPDAT 6
9: #define NGET 7
10: #define NNAMI 8
11: #define NPUT 9
12: #define NROOT 10
13: #define NDEL 11
14: #define NLINK 12
15: #define NCREAT 13
16: #define NOMATCH 14
17: #define NSTART 15
18: #define NIOCTL 16
19: #define NMKDIR 17
20: #define NRMDIR 18
21:
22: struct sendc { /* not space efficient */
23: char version;
24: char cmd;
25: char flags; /* now only for nami */
26: char rsvd;
27: long trannum;
28: short uid;
29: short gid;
30: short dev; /* server may be using several */
31: short pad;
32: long tag;
33: long mode;
34: short newuid; /* for updat */
35: short newgid;
36: long ino;
37: long count;
38: long offset;
39: char *buf;
40: time_t ta;
41: time_t tm;
42: };
43:
44: struct rcvc { /* not space efficient either */
45: long trannum;
46: char errno;
47: char flags; /* NROOT for nami */
48: short dev;
49: long size;
50: short mode;
51: short uid;
52: short gid;
53: short pad;
54: long tag;
55: short nlink;
56: short rsvd;
57: long ino; /* back from nami */
58: long count; /* count or loc for nami to use */
59: time_t tm[3];
60: };
61:
62: extern long trannum;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.