XNS.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Demers, January 20, 1986 3:50:49 pm PST
Hal Murray, May 27, 1986 8:38:42 pm PDT
XNS Addressing per XSIS 028112, December 1981.
See XNSWKS.mesa for well-known socket assignments.
XNS: CEDAR DEFINITIONS ~ BEGIN
BYTE: TYPE ~ [0..100H);
Address Types
Address: TYPE ~ MACHINE DEPENDENT RECORD [net: Net, host: Host, socket: Socket];
Net: TYPE ~ MACHINE DEPENDENT RECORD[a, b, c, d: BYTE];
Host: TYPE ~ MACHINE DEPENDENT RECORD [a, b, c, d, e, f: BYTE];
Socket: TYPE ~ MACHINE DEPENDENT RECORD[a, b: BYTE];
Unknown / Default and Broadcast Values
unknownNet: Net ~ [0, 0, 0, 0];
broadcastNet: Net ~ [0ffH, 0ffH, 0ffH, 0ffH]; -- Not supported
unknownHost: Host ~ [0, 0, 0, 0, 0, 0];
broadcastHost: Host ~ [0ffH, 0ffH, 0ffH, 0ffH, 0ffH, 0ffH];
unknownSocket: Socket ~ [0, 0];
unknownAddress: Address ~ [unknownNet, unknownHost, unknownSocket];
Host Number Manipulations
GetThisHost: PROC RETURNS [Host];
Returns XNS Host number for this machine.
IsMulticastHost: PROC [host: Host] RETURNS[BOOL];
Return TRUE iff host is a multicast (or broadcast) host number.
END.