|
|
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 senda { /* 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: long tag;
32: long mode;
33: short newuid; /* for updat */
34: short newgid;
35: long ino;
36: long count;
37: long offset;
38: char *buf;
39: time_t ta;
40: time_t tm;
41: };
42:
43: struct rcva { /* not space efficient either */
44: long trannum;
45: char errno;
46: char flags; /* NROOT for nami */
47: short dev;
48: long size;
49: short mode;
50: short uid;
51: short gid;
52: long tag;
53: short nlink;
54: short rsvd;
55: long ino; /* back from nami */
56: long count; /* count or loc for nami to use */
57: time_t tm[3];
58: };
59:
60: extern long trannum;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.