Mac Developer Library

Developer

IOEthernetStats.h Reference

Options
Deployment Target:

On This Page

IOEthernetStats.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import IOKit;

Ethernet statistics.

Data Types

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    typedef struct { UInt32 collFrequencies[16]; } IODot3CollEntry;

    Discussion

    Collision statistics structure.

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt32 overruns; UInt32 watchdogTimeouts; UInt32 frameTooShorts; UInt32 collisionErrors; UInt32 phyErrors; UInt32 timeouts; UInt32 interrupts; UInt32 resets; UInt32 resourceErrors; UInt32 reserved[4]; } IODot3RxExtraEntry;

    Discussion

    Extra receiver statistics not defined by RFC1650.

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt32 alignmentErrors; UInt32 fcsErrors; UInt32 singleCollisionFrames; UInt32 multipleCollisionFrames; UInt32 sqeTestErrors; UInt32 deferredTransmissions; UInt32 lateCollisions; UInt32 excessiveCollisions; UInt32 internalMacTransmitErrors; UInt32 carrierSenseErrors; UInt32 frameTooLongs; UInt32 internalMacReceiveErrors; UInt32 etherChipSet; UInt32 missedFrames; } IODot3StatsEntry;

    Discussion

    Ethernet MIB statistics structure.

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt32 underruns; UInt32 jabbers; UInt32 phyErrors; UInt32 timeouts; UInt32 interrupts; UInt32 resets; UInt32 resourceErrors; UInt32 reserved[4]; } IODot3TxExtraEntry;

    Discussion

    Extra transmitter statistics not defined by RFC1650.

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IODot3StatsEntry dot3StatsEntry; IODot3CollEntry dot3CollEntry; IODot3RxExtraEntry dot3RxExtraEntry; IODot3TxExtraEntry dot3TxExtraEntry; } IOEthernetStats;

    Discussion

    Aggregate Ethernet statistics structure.

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    #define kIOEthernetStatsKey "IOEthernetStatsKey"

    Constants

    • kIOEthernetStatsKey

      kIOEthernetStatsKey

      Defines the name of an IONetworkData that contains an IOEthernetStats.

      Available in OS X v10.0 and later.