1: /* 2: * various control values used by GAP 3: * $Header: gapcontrols.h,v 2.0 85/11/21 07:23:02 jqj Exp $ 4: * 5: * $Log: gapcontrols.h,v $ 6: * Revision 2.0 85/11/21 07:23:02 jqj 7: * 4.3BSD standard release 8: * 9: * Revision 1.2 85/11/20 13:59:16 jqj 10: * added symbolic entries for Gap connection types 11: * 12: */ 13: 14: /* 15: * some of the service types used by GAP TTY services 16: * to identify themselves. 17: */ 18: 19: #define TTYService_any 0 /* matches any service */ 20: #define TTYService_sa 1 /* Used by system administrator interface */ 21: #define TTYService_exec 2 /* Used by Mesa and other TTY executives */ 22: #define TTYService_its 3 /* Used by ITS */ 23: #define TTYService_sender 4 /* Diagnostic service...sends continuously */ 24: /* Numbers above 64K for experimental and non-Xerox use. */ 25: 26: /* 27: * Controls used in GAP connection streams. In-band controls appear 28: * as nonstandard SPP packet types. Out-of-band controls appear as 29: * Attn packets with a single byte of data, whose value is the OOB 30: * control. 31: */ 32: 33: /* generic controls, both in-band and out-of-band */ 34: 35: #define GAPCTLabortGetTransaction 0306 /* oob with mark */ 36: #define GAPCTLabortMark 0315 /* inband */ 37: #define GAPCTLabortPutTransaction 0307 /* oob with mark */ 38: #define GAPCTLareYouThere 0304 /* oob */ 39: #define GAPCTLaudibleSignal 0303 /* oob */ 40: #define GAPCTLcleanup 0320 /* inband, oob */ 41: #define GAPCTLdisconnect 0312 /* inband */ 42: #define GAPCTLendOfTransaction 0310 /* inband */ 43: #define GAPCTLendOfTransparentData 0314 /* inband */ 44: #define GAPCTLexcessiveRetransmissions 0333 /* oob with mark */ 45: #define GAPCTLiAmHere 0305 /* oob */ 46: #define GAPCTLinterrupt 0301 /* oob */ 47: #define GAPCTLnone 0300 /* inband, of course */ 48: #define GAPCTLremoteNotResponding 0331 /* oob with mark */ 49: #define GAPCTLresume 0302 /* oob */ 50: #define GAPCTLtransparentDataFollows 0313 /* inband */ 51: #define GAPCTLyourTurnToSend 0311 /* inband */ 52: #define GAPCTLunchained3270 0335 /* inband */ 53: #define GAPCTLreadModified3270 0336 /* inband */ 54: #define GAPCTLstatus3270 0337 /* inband */ 55: #define GAPCTLtestRequest3270 0340 /* inband */ 56: 57: #define GAPCTLsscpData 0345 /* inband? */ 58: #define GAPCTLreadModifiedAll3270 0344 /* inband? */ 59: #define GAPCTLread3270 0345 /* inband? */ 60: 61: 62: /* status bytes -- all are oob */ 63: 64: #define GAPCTLmediumDown 0322 65: #define GAPCTLmediumUp 0321 66: #define GAPCTLnoGetForData 0325 67: #define GAPCTLourAccessIDRejected 0323 68: #define GAPCTLunsupportedProtocolFeature 0326 69: #define GAPCTLunexpectedRemoteBeharior 0327 70: #define GAPCTLunexpectedSoftwareFailure 0330 71: #define GAPCTLweRejectedAccessID 0324 72: #define GAPCTLpuActive 0347 73: #define GAPCTLpuInactive 0359