Google
 

Trailing-Edge - PDP-10 Archives - TOPS-20_V6.1_DECnetSrc_7-23-85 - mcb/nsp/nsinfo.req
There is 1 other file named nsinfo.req in the archive. Click here to see a list.
!                    COPYRIGHT (c) 1980, 1981, 1982
!                    DIGITAL EQUIPMENT CORPORATION
!                        Maynard, Massachusetts
!
!     This software is furnished under a license and may  be  used
!     and copied only in accordance with the terms of such license
!     and with the inclusion of the above copyright notice.   This
!     software  or any other copies thereof may not be provided or
!     otherwise made available to any other person.  No  title  to
!     and ownership of the software is hereby transferred.
!
!     The information  in  this  software  is  subject  to  change
!     without  notice  and should not be construed as a commitment
!     by DIGITAL EQUIPMENT CORPORATION.
!
!     DIGITAL assumes no responsibility for the use or reliability
!     of  its  software  on  equipment  which  is  not supplied by
!     DIGITAL.

!+
! Network Services Layer values of general interest
!
!-

!+
! Function modifier codes for the Session Control Interface
!-
literal
	N_GSTS =  0,		! STATUS of NSP
	N_POPN =  2,		! OPEN port
	N_PCLS =  4,		! CLOSE port
	N_GSTA =  6,		! STATE of port
	N_XCON =  8,		! CONNECT-TRANSMIT
	N_XACC = 10,		! ACCEPT connection
	N_XREJ = 12,		! REJECT connection
	N_XDSC = 14,		! DISCONNECT link
	N_XABT = 16,		! ABORT link
	N_XDAT = 18,		! DATA-TRANSMIT
	N_XINT = 20,		! INTERRUPT-TRANSMIT
	N_XIRQ = 22,		! INTERRUPT-REQUEST
	N_XDRQ = 24,		! DATA-REQUEST
	N_XBUF = 26,		! DATA-RECEIVE
	N_XINI = 28,

	N_SCNF =  0,		! CONFIDENCE
	N_SCNS =  2,		! CONNECT-STATUS
	N_RCON =  4,		! CONNECT-RECEIVED
	N_RDSC =  6,		! DISCONNECT-RECEIVED
	N_RDAT =  8,		! DATA-RECEIVED
	N_RINT = 10,		! INTERRUPT-RECEIVED


	N_XHI = N_XINI,
	N_RHI = N_RINT;

!+
! Status codes for Session Control Interface
!-
literal
	N$HI = 3,		! max ststus code value
	N$SREJ =   3,		! Connect rejected
	N$SACC =   2,		! Connect accepted
	N$SSUC =   1,		! Successful completion
	N$ERES =  -1,		! Insufficient resources
	N$ECON =  -2,		! Network probably not connected
	N$ESTE =  -3,		! Wrong state for operation
	N$EOPN =  -4,		! No resources at remote node
	N$EABO =  -5,		! Link aborted/remote port closed
	N$EABR =  -5,		! Link aborted/remote port closed
	N$ETMI =  -6,		! Too many interrupt messages outstanding
	N$ERMO =  -7,		! Invalid read mode for this link
	N$ELST =  -8,		! Data lost-receive buffer too small
	N$EMTL =  -9,		! Message too long
	N$ECLS = -10,		! Local port has been closed
	N$ENUR = -11,		! Destination is unreachbable
	N$EABL = -12,		! Abort by local user
	N$ERUN = -13,		! NSP already initilized
	N$ETRN = -14,		! Open rejected by Transport
	N$LO = -14;		! minimum status value
!+
! Parameter values passed from Session Control in C_PRMx of CCB 
!-
literal
	N$FSEG = %O'1',		! Segment flow control
	N$FMES = %O'2',		! Message flow control
	N$FEOM = %O'1',		! End of message flag
	N$FBOM = %O'2',		! Begin of message flag
	N$FCMP = %O'4';		! Post completion flag

!+
! Port state codes returned in a STATE call
!-
literal
	N$SO   =  1,		! OPEN
	N$SCR  =  2,		! CONNECT-RECEIVED
	N$SDR  =  3,		! DISCONNECT-RECEIVED
	N$SDRC =  4,		! DISCONNECT-REJECT-COMPLETE
	N$SCC  =  5,		! CONNECT-CONFIRM
	N$SCI  =  6,		! CONNECT-INITIATE
	N$SNR  =  7,		! NO-RESOURCES
	N$SNC  =  8,		! NO-COMMUNICATION
	N$SCD  =  9,		! CONNECT-DELIVERED
	N$SRJ  = 10,		! REJECTED
	N$SRUN = 11,		! RUN
	N$SDI  = 12,		! DISCONNECT-INITIATE
	N$SDIC = 13,		! DISCONNECT-INITIATE-COMPLETE
	N$SDN  = 14,		! DISCONNECT-NOTIFICATION
	N$SCL  = 15,		! CLOSED
	N$SCN  = 16;		! CLOSED-NOTIFICATION