|
ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IONetworkStats.h |
| Include: | Path <IOKit/network/IONetworkStats.h> |
This header provides you with various structures that provide statistics about network usage that you may find useful. Included are general and output queue statistics.
IONetworkStats |
typedef struct { UInt32 inputPackets; UInt32 inputErrors; UInt32 outputPackets; UInt32 outputErrors; UInt32 collisions; } IONetworkStats;
inputPacketscount input packets.
inputErrorscount input errors.
outputPacketscount output packets.
outputErrorscount output errors.
collisionscount collisions on CDMA networks.
Generic network statistics structure.
IOOutputQueueStats |
typedef struct { UInt32 capacity; UInt32 size; UInt32 peakSize; UInt32 dropCount; UInt32 outputCount; UInt32 retryCount; UInt32 stallCount; UInt32 reserved[4]; } IOOutputQueueStats;
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.
Statistics recorded by IOOutputQueue objects.
kIONetworkStatsKey |
#define kIONetworkStatsKey "IONetworkStatsKey"
Defines the name of an IONetworkData that contains an IONetworkStats.
kIOOutputQueueStatsKey |
#define kIOOutputQueueStatsKey "IOOutputQueueStatsKey"
Defines the name of an IONetworkData that contains an IOOutputQueueStats.
|
Last Updated: 2008-12-19