IONetworkStats.h

Overview

Generic network statistics.



Typedefs

IONetworkStats
IOOutputQueueStats

IONetworkStats


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

count input packets.

inputErrors

count input errors.

outputPackets

count output packets.

outputErrors

count output errors.

collisions

count collisions on CDMA networks.

Discussion

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;  
Fields
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.

Discussion

Statistics recorded by IOOutputQueue objects.

Macro Definitions

kIONetworkStatsKey
kIOOutputQueueStatsKey

kIONetworkStatsKey


#define kIONetworkStatsKey "IONetworkStatsKey" 
Discussion

Defines the name of an IONetworkData that contains an IONetworkStats.


kIOOutputQueueStatsKey


#define kIOOutputQueueStatsKey "IOOutputQueueStatsKey" 
Discussion

Defines the name of an IONetworkData that contains an IOOutputQueueStats.

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15