typedef struct { UInt32 inputPackets; UInt32 inputErrors; UInt32 outputPackets; UInt32 outputErrors; UInt32 collisions; } IONetworkStats;
Generic network statistics structure.
Name Description inputPackets count input packets. inputErrors count input errors. outputPackets count output packets. outputErrors count output errors. collisions count collisions on CDMA networks.
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.
Name Description capacity queue capacity. size current size of the queue. peakSize peak size of the queue. dropCount number of packets dropped. outputCount number of output packets. retryCount number of retries. stallCount number of queue stalls.
#define kIONetworkStatsKey "IONetworkStatsKey"
Defines the name of an IONetworkParameter that contains an IONetworkStats.
#define kIOOutputQueueStatsKey "IOOutputQueueStatsKey"
Defines the name of an IONetworkParameter that contains an IOOutputQueueStats.
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)