/*         mortparm.h           */
/* k 0018 	11/07/90	*/
/* k 0046	08/09/90	*/
/* k 0083	27/11/90	*/
/* k 0103	08/01/91	*/
/* k 0119       08/02/91        */
/* k 0139       05/03/91        */
/* k 0186	21/06/91	*/
/* k 0196	07/07/91	*/
#define  BUF    1               /* @0119 */
#define  DATA   2               /* @0119 */
#define  SESS   4               /* @0119 */
#define  PROC   8               /* @0119 */
#define  TRACE  64              /* @0119 */
#define  FTRACE 128             /* @0119 */
struct portparm  {
  char list;			/* list number */
  char config;			/* config number */
  short nodeid;			/* node identification */
  char rqbno;			/* number of rqb */
/*  union {           						 0018
   struct        {
    unsigned buf  :1;		 1 - buffer tracing          @0046
    unsigned data :1;		 1 - data tracing            @0046
    unsigned sess :1; 		 1 - session tracing         @0046
    unsigned proc :1;		 1 - process tracing         @0046
    unsigned rsrv1:2;        	 @0046    	         0018
    unsigned trace:1;		 1 - trace in use            0018
    unsigned ftrace:1;		 1 - file for trace in use 	 0018
		} flg;                                           0018
	 } tf;                                                   0018 */
  unsigned char tf;                                              /* @0119 */
#define   GOST   1		/* @0186 */
#define   LLC   16              /* @0119 */
#define   DESC  32              /* @0119 */
#define   CON   64              /* @0119 */
#define   PATH 128              /* @0119 */
/*  struct   {
    unsigned gost :1;		@0186
    unsigned rsrv3:3;						 @0046
    unsigned llc  :1;            llc tracing                 @0046
    unsigned desc :1;		 descriptor tracing          @0046
    unsigned con  :1;		 connection tracing          @0046
    unsigned path :1;		 1 - route tracing           @0046
	   } flag2;                                */
  unsigned char flag2;                             /* @0119 */
  char buflan;			/* number of buffer for lan */
  char bufvt;			/* number of buffers for vt */
  char buf2k;			/* number of 2k-buffers */
  short buf128;			/* number of 128b-buffers */
  short buf36;          	/* number of 36b-buffers */
  char vtno;			/* max number of vt */
  char apno; 			/* max number of ap */
  char lanno;			/* max number of lan */
  char bscno;			/* max number of bsc */
  char akkno;			/* max number of akk */
  char fillan;			/* number of filling symbols for lan */
  short sbuflan;		/* size of buffer for lan */
  short talan;			/* time-out for lan */
  char namerest[8];             /* file name for restart */
#define    STAT    16           /* @0119 */
#define    RING    32           /* @0119 */
#define    REPORT  64           /* @0119 */
#define    MONITOR 128          /* @0119 */
/*  union {
   struct  {                             STATISTIC            0018
    unsigned rsrv2   :4;			 @0046 	0018
    unsigned stat    :1;	 statistic in use  @0046     0018
    unsigned ring    :1;	 ring 	 @0046 	 0018
    unsigned report  :1;	 report 	 @0046 	 0018
    unsigned monitor :1;	 monitor    @0046       0018
	 } flg ;                                                 0018
	} sf;							 0018 */
   unsigned char sflag;				/* 0018 *//* @0119 */
   char optflag;		/* @0196 */
   unsigned char cashno;			/* @0196 */
   char disp_type;				/* @0083 */
   char srdt_name[8];					/* @0103 */
   char ap_rdt_name[8];                                 /* @0139 */
   char vt_rdt_name[8];					/* @0103 */
       } ;                                                      /* 0018 */
#define PSIZE 58 /* @0103 *//* @0083 *//* 0018 *//* @0139 */


 