Annotation of researchv8dc/sys/h/channel.h, revision 1.1.1.1

1.1       root        1: #ifndef NUMLCH
                      2: #define NUMLCH 32
                      3: #define MAXMUX 32
                      4: #endif
                      5: 
                      6: struct chdat {
                      7:        int lmachno;    /* source "machine number" */
                      8:        int machno;     /* remote machine number */
                      9:        int flags;
                     10:        int lchnum;     /* source logical channel number */
                     11:        int dlchnum;    /* destination logical channel number */
                     12:        int pdid;       /* physical destination did for dest another host */
                     13:        int snunit;     /* specifies which snet this channel goes on */
                     14:        int ckticks;
                     15:        short xchan;
                     16:        struct chdat *link;
                     17:        struct bufinfo {
                     18:                short *buf;
                     19:                int len;
                     20:                int done;
                     21:        } input, output;
                     22: } ;
                     23: 
                     24: /* used by NIOCHSTATUS ioctl call */
                     25: struct chinfo {
                     26:        int numlch;
                     27:        struct chdat *chanaddr;
                     28: };
                     29: 
                     30: /* flags */
                     31: #define SENTRDY        0x01    /* we have sent an RDY */
                     32: #define SENTRNR        0x02    /* we have sent an RNR */
                     33: #define SENTDATA       0x04    /* we have sent a DATA */
                     34: #define MULTIPLEX      0x08    /* this channel is multiplexed */
                     35: #define RETRY  0x10    /* timeout - resend message */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.