<> <> <> EthernetDriverStats: CEDAR DEFINITIONS = BEGIN Count: TYPE = LONG CARDINAL; EtherStats: TYPE = REF EtherStatsRep; EtherStatsRep: TYPE = RECORD [ packetsSent: Count, wordsSent: Count, badSendStatus: Count, overruns: Count, packetsRecv: Count, wordsRecv: Count, badRecvStatus: Count, inputOff: Count, loadTable: ARRAY [0..MaxTries] OF Count]; MaxTries: NAT = 16; GetEthernetConfig: PROC RETURNS [instances: NAT]; <> GetEthernetStats: PROC [instance: NAT] RETURNS [EtherStats]; <<... returns the EtherStats object for the given instance of the Xerox product standard Ethernet driver. Note that these numbers are not monitor protected, so be prepared for strange results every so often. NIL will be returned for invalid instances.>> <<>> GetEthernetOneConfig: PROC RETURNS [instances: NAT]; <> GetEthernetOneStats: PROC [instance: NAT] RETURNS [EtherStats]; <<... returns the EtherStats object for the given instance of the Xerox research Ethernet driver. Note that these numbers are not monitor protected, so be prepared for strange results every so often. NIL will be returned for invalid instances.>> <<>> END. <<>>