 C  C WIDDEF.TXT C Author: Earl D. Lakia " c Date of last update:  9-MAR-1993 C  C Revision log:  c	9-mar-1993  MAQ053* c Add support for the MQD router protocol. C  C Abstract: 5 C This defines the message ids that are written from  6 C this node.  This macro defines the structure that is C built in the routing database  C  	STRUCTURE/WIDDEF// 	  CHARACTER*16 WID$C_NAME    ! Message id name 9 	  CHARACTER*16 WID$C_ALTNAME ! Alternate message id name - 	  INTEGER*4 WID$L_FLAGS   ! message id flags . 	  INTEGER*4 WID$L_IDX	     ! Message id index@ 	  INTEGER*4 WID$L_HUB        ! Hub that this message is part ofE 	  INTEGER*4 WID$L_WIDNUMBER  ! This WID's array index (the n'th WID) ; 	  INTEGER*4 WID$L_RNA	     ! RNA for the message just read @ 	  INTEGER*4 WID$L_NRB	     ! Thread to logical node name for id8 	  INTEGER*4 WID$L_REMIDX     ! Remote routers RID indexI 	  INTEGER*4 WID$L_RTRCNT  ! Router statistics counter (incr. when write) L 	  INTEGER*4 WID$Q_FULLTIMER(2) ! How long to wait if remote node queue full? 	  INTEGER*4 WID$Q_WTIME(2) ! Time message last routed off node @ 	  INTEGER*4 WID$Q_RNATIME(2) ! Time Message was read from queue< 	  INTEGER*4 WID$L_ALCSEQ	! allocate/deallocate seq. number.2 	  INTEGER*4 WID$L_BUFADD	! current buffer address. 	  INTEGER*4 WID$L_MIDEFN	! wake up event flag8 	  INTEGER*2 WID$W_WIDEFNNXT	! next wid in mid efn chain4 	  INTEGER*2 WID$W_FILL      ! For natural alignment 	END STRUCTURE 	INTEGER*4 WID$K_SIZE " 	PARAMETER (WID$K_SIZE=18*4+16+16) c ; 	INTEGER*4 WID$M_QUEFULL  ! Remote message id queue is full  	PARAMETER (WID$M_QUEFULL= 1)  c 9 	INTEGER*4 WID$M_UNKNOWNID	! Remote message id is unknown - 	PARAMETER (WID$M_UNKNOWNID= WID$M_QUEFULL*2)  C = 	INTEGER*4 WID$M_NOTINQ  ! Message id Not found in queue file . 	PARAMETER (WID$M_NOTINQ= WID$M_UNKNOWNID * 2) C 7 	INTEGER*4 WID$M_ACKERR  ! Was unable to ACK message id , 	PARAMETER (WID$M_ACKERR= WID$M_NOTINQ *2  ) C * 	INTEGER*4 WID$M_SEND  ! Packet being sent) 	PARAMETER (WID$M_SEND= WID$M_ACKERR*2  )  C = 	INTEGER*4 WID$M_QRDERR ! Error reading message id from queue ) 	PARAMETER (WID$M_QRDERR= WID$M_SEND*2  )  C B 	INTEGER*4 WID$M_ACKWAIT ! Message sent to remote, waiting for ack. 	PARAMETER (WID$M_ACKWAIT= WID$M_QRDERR*2  )   C , 	INTEGER*4 WID$M_ABORT  ! Abort transmission+ 	PARAMETER (WID$M_ABORT= WID$M_ACKWAIT*2  )  C . 	INTEGER*4 WID$M_QIOERR	! Error sending packet) 	PARAMETER (WID$M_QIOERR= WID$M_ABORT*2 )  C < 	INTEGER*4 WID$M_SNDMPKT	! Sending message as a multipacket + 	PARAMETER (WID$M_SNDMPKT= WID$M_QIOERR *2)  C ; 	INTEGER*4 WID$M_MPKTWT	! Message id waiting for ability to + 				! send message as a multipacket message * 	PARAMETER (WID$M_MPKTWT= WID$M_SNDMPKT*2)