<> <> <> <> <> DIRECTORY PupTypes USING [PupAddress, PupSocketID, PupType, Pair]; MiniEthernetDefs: DEFINITIONS = BEGIN ActivateDriver: PROC [dataBuffer: LONG POINTER, length: CARDINAL, iocb: LONG POINTER, avoidCleanup: BOOL _ FALSE] RETURNS [ok: BOOL]; <> <> <> KillDriver: PROC [avoidCleanup: BOOL _ FALSE]; GetEthernetHostNumber: PROC RETURNS [CARDINAL]; GetEthernetNetNumber: PROC RETURNS [CARDINAL]; <<0 if unknown>> DriverNotActive: ERROR; BufferOverflow: ERROR; SendPacket: PROC [dest: PupTypes.PupAddress, me: PupTypes.PupSocketID, type: PupTypes.PupType, id: PupTypes.Pair, data: LONG POINTER, bytes: CARDINAL]; ReturnPacket: PROC [type: PupTypes.PupType, data: LONG POINTER, bytes: CARDINAL]; RecvPacket: PROC [source: LONG POINTER TO PupTypes.PupAddress, me: PupTypes.PupSocketID, data: LONG POINTER, words: CARDINAL, timeout: PROC RETURNS [BOOL]] RETURNS [bytes: CARDINAL, id: PupTypes.Pair, type: PupTypes.PupType]; <> timedOut: CARDINAL = LAST[CARDINAL]; END.