File:  [Research Unix] / researchv8dc / sys / h / channel.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

#ifndef NUMLCH
#define NUMLCH 32
#define MAXMUX 32
#endif

struct chdat {
	int lmachno;	/* source "machine number" */
	int machno;	/* remote machine number */
	int flags;
	int lchnum;	/* source logical channel number */
	int dlchnum;	/* destination logical channel number */
	int pdid;	/* physical destination did for dest another host */
	int snunit;	/* specifies which snet this channel goes on */
	int ckticks;
	short xchan;
	struct chdat *link;
	struct bufinfo {
		short *buf;
		int len;
		int done;
	} input, output;
} ;

/* used by NIOCHSTATUS ioctl call */
struct chinfo {
	int numlch;
	struct chdat *chanaddr;
};

/* flags */
#define SENTRDY	0x01	/* we have sent an RDY */
#define SENTRNR	0x02	/* we have sent an RNR */
#define SENTDATA	0x04	/* we have sent a DATA */
#define MULTIPLEX	0x08	/* this channel is multiplexed */
#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.