IONetworkStats.h



Typedefs

IONetworkStats

typedef  struct  {
  UInt32  inputPackets;
  UInt32  inputErrors;
  UInt32  outputPackets;
  UInt32  outputErrors;
  UInt32  collisions;
}  IONetworkStats;

Generic network statistics structure.

Fields

NameDescription
inputPacketscount input packets.
inputErrorscount input errors.
outputPacketscount output packets.
outputErrorscount output errors.
collisionscount collisions on CDMA networks.

IOOutputQueueStats

typedef  struct  {
  UInt32  capacity;
  UInt32  size;
  UInt32  peakSize;
  UInt32  dropCount;
  UInt32  outputCount;
  UInt32  retryCount;
  UInt32  stallCount;
  UInt32  reserved[4];
}  IOOutputQueueStats;

Statistics recorded by IOOutputQueue objects.

Fields

NameDescription
capacityqueue capacity.
sizecurrent size of the queue.
peakSizepeak size of the queue.
dropCountnumber of packets dropped.
outputCountnumber of output packets.
retryCountnumber of retries.
stallCountnumber of queue stalls.

#defines

kIONetworkStatsKey

#define kIONetworkStatsKey "IONetworkStatsKey"

Defines the name of an IONetworkParameter that contains an IONetworkStats.


kIOOutputQueueStatsKey

#define kIOOutputQueueStatsKey "IOOutputQueueStatsKey"

Defines the name of an IONetworkParameter that contains an IOOutputQueueStats.


© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)