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