| plan 9 kernel history: overview | file list | diff list |
1991/1105/port/portdat.h (diff list | history)
| 1991/1105/sys/src/9/port/portdat.h:10,15 – 1991/1106/sys/src/9/port/portdat.h:10,16 (short | long | prev | next) | ||
|
Add Ifile, Network.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1991/0428 | typedef struct Envval Envval; typedef struct Etherpkt Etherpkt; | |
| 1991/0705 | typedef struct Fgrp Fgrp; | |
| 1991/1106 | typedef struct Ifile Ifile; | |
| 1991/0705 | typedef struct Image Image; | |
| 1991/0607 | typedef struct IOQ IOQ; typedef struct KIOQ KIOQ; | |
| 1991/1105/sys/src/9/port/portdat.h:16,21 – 1991/1106/sys/src/9/port/portdat.h:17,23 | ||
| 1991/0428 | typedef struct List List; typedef struct Mount Mount; | |
| 1991/1011 | typedef struct Mhead Mhead; | |
| 1991/1106 | typedef struct Network Network; | |
| 1991/0428 | typedef struct Note Note; typedef struct Page Page; | |
| 1991/0705 | typedef struct Palloc Palloc; | |
| 1991/1105/sys/src/9/port/portdat.h:610,615 – 1991/1106/sys/src/9/port/portdat.h:612,643 | ||
| 1991/0724 | Streamhi= (9*1024), /* byte count high water mark */ Streambhi= 32, /* block count high water mark */ | |
| 1991/0428 | }; | |
| 1991/1106 | /* * a multiplexed network */ struct Ifile { char *name; void (*fill)(Chan*, char*, int); }; struct Network { char *name; int nif; /* max # of interfaces */ int nconv; /* max # of conversations */ Qinfo *devp; /* device end line disc */ Qinfo *protop; /* protocol line disc */ int (*listen)(Chan*); int (*clone)(Chan*); void (*connect)(Chan*, char*); void (*announce)(Chan*, char*); int ninfo; Ifile info[5]; }; #define MAJOR(q) ((q) >> 8) #define MINOR(q) ((q) & 0xff) #define DEVICE(a,i) (((a)<<8) | (i)) | |
| 1991/0428 | ||
| 1991/0731 | #define MAXSYSARG 6 /* for mount(fd, mpt, flag, arg, srv) */ | |
| 1991/0428 | #define PRINTSIZE 256 | |