File:  [Research Unix] / researchv9 / sys.vax / h / cmc.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, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/*
 *	datakit common-control interface definitions
 */



/*
 *  protocol codes generated by driver
 */
#define T_CHG		3	/* status change to/from cmc */
#define   D_CLOSE	  1	/* close a channel */
#define   D_ISCLOSED	  2	/* channel is closed */
#define   D_CLOSEALL	  3	/* close all channels */

#define T_LSTNR		4	/* keep-alive message */

#define T_REPLY		2	/* reply to channel setup */
#define   D_OK		  1	/* setup OK */
#define   D_OPEN	  2	/* channel now open */
#define   D_FAIL	  3	/* setup failed */

#define T_RESTART	8	/* cmc crashed, we should init circuit */

struct	lmsg	{
	char	type ;		/* message type T_??? */
	char	srv ;		/* message code D_??? */
	short	param0 ;		/* various aditional info */
	short	param1 ;
	short	param2 ;
	short	param3 ;
	short	param4 ;
} ;

unix.superglobalmegacorp.com

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