IONetworkStats.h Reference

Declared in
IONetworkStats.h

Overview

Generic network statistics.

Data Types

See the Overview section above for header-level documentation.

IONetworkStats

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

Generic network statistics structure.

Availability
  • Available in OS X v10.0 and later.
Declared In
IONetworkStats.h

IOOutputQueueStats

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

Statistics recorded by IOOutputQueue objects.

Availability
  • Available in OS X v10.0 and later.
Declared In
IONetworkStats.h

Constants

See the Overview section above for header-level documentation.

Miscellaneous Defines

   
#define kIONetworkStatsKey "IONetworkStatsKey"
#define kIOOutputQueueStatsKey "IOOutputQueueStatsKey"
Constants
kIONetworkStatsKey

Defines the name of an IONetworkData that contains an IONetworkStats.

Available in OS X v10.0 and later.

Declared in IONetworkStats.h.

kIOOutputQueueStatsKey

Defines the name of an IONetworkData that contains an IOOutputQueueStats.

Available in OS X v10.0 and later.

Declared in IONetworkStats.h.