In addition to XIP types 1 (routing), 2 (echo), ... 5 (spp) the Medley code uses 6 (PUP lookup).
A PUP lookup XIP looks like a Packet Exchange XIP, except for having XIP type 6.
A normal packet exchange ID is used.
It is broadcast to well-known socket 9.
The packet exchange protocol-specific type field is set to request (1), response (2), or negative (3). Negative responses are ignored.
A request type PUP lookup contains the 48-bit XNS host address of the device that is to be looked up as the payload.
A response type PUP lookup contains in one 16-bit word (big-endian) the PUP network number (high byte) and the PUP host number (low byte)"as stored in the gateway's database." A zero low byte is invalid unless the address being looked up was the broadcast NS address. The PUP network number should be specifiable, but will generally be ignored because of the confusion about machines that had interfaces on more than one PUP network.
I might be able to find time to implement this...
In addition to XIP types 1 (routing), 2 (echo), ... 5 (spp) the Medley code uses 6 (PUP lookup).
A PUP lookup XIP looks like a Packet Exchange XIP, except for having XIP type 6.
A normal packet exchange ID is used.
It is broadcast to well-known socket 9.
The packet exchange protocol-specific type field is set to request (1), response (2), or negative (3). Negative responses are ignored.
A request type PUP lookup contains the 48-bit XNS host address of the device that is to be looked up as the payload.
A response type PUP lookup contains in one 16-bit word (big-endian) the PUP network number (high byte) and the PUP host number (low byte)"as stored in the gateway's database." A zero low byte is invalid unless the address being looked up was the broadcast NS address. The PUP network number should be specifiable, but will generally be ignored because of the confusion about machines that had interfaces on more than one PUP network.
I might be able to find time to implement this...