// IfsMisc.decl -- Miscellaneous services declarations
// Copyright Xerox Corporation 1979, 1980, 1982
// Last modified July 12, 1982  2:04 PM by Taft

manifest
[
socketMiscServices = 4

// Mail check protocol
typeMsgMailCheck = 210b
typeLaurelMailCheck = 214b
typeMailCheckYes = 211b
typeMailCheckNo = 212b
typeMailCheckError = 213b

// User Authentication protocol
typeUserAuthenticate = 250b
typeUserAuthenticateYes = 251b
typeUserAuthenticateNo = 252b

// Validate Recipient protocol
typeValidateRecipient = 266b;
typeValidateRecipientYes = 267b;
typeValidateRecipientNo = 270b;

// Where Is User protocol
typeWhereUserRequest = 230b
typeWhereUserReply = 231b

// Time protocol
ptStringTimeRequest = 200b
ptStringTimeReply = 201b
ptTenexTimeRequest = 202b
ptTenexTimeReply = 203b
ptAltoTimeRequest = 206b
ptAltoTimeReply = 207b
ptTimeStatsRequest = 215b
ptTimeStatsReply = 216b
ptResetTimeRequest = 255b
ptResetTimeReply = 256b
ptLockTimeRequest = 217b
ptLockTimeReply = 227b

// Network Directory protocol
ptNameLookup = 220b
ptNameReply = 221b
ptNetDirError = 222b
ptAddressLookup = 223b
ptAddressReply = 224b
ptNetDirVersion = 240b
ptSendNetDir = 241b
ptNetDirStatsRequest = 225b
ptNetDirStatsReply = 226b
ptNetDirLockRequest = 235b
ptNetDirLockReply = 236b
ptNetDirUnlockRequest = 237b
ptNetDirUnlockReply = 261b

// Boot protocol
ptBootFileRequest = 244b
ptBootNamedFileRequest = 303B
ptBootMicrocodeRequest = 264b
ptBootMicrocodeReply = 265b
ptBootDirRequest = 257b
ptBootDirReply = 260b
ptKissOfDeath = 247b
ptBootStatsRequest = 253b
ptBootStatsReply = 254b
ptBootLockRequest = 242b
ptBootLockReply = 243b
ptBootUnlockRequest = 233b
ptBootUnlockReply = 234b
]

manifest
[
socketEcho = 5			// registered, well-known socket

typeEchoMe = 1
typeImAnEcho = 2
typeImABadEcho = 3

typeStatsRequest = 200b
typeStatsReply = 201b

echoStatsVersion = 1
]

structure EchoStats:		// Echo server statistics
[
version word			// = echoStatsVersion
packetsEchoed word 2		// # of packets echoed
]
manifest lenEchoStats = size EchoStats/16