Mac Developer Library

Developer

IONetworkMedium.h Reference

Options
Deployment Target:

On This Page

IONetworkMedium.h Reference

Included Headers

  • <net/if_media.h>

  • <libkern/c++/OSObject.h>

  • <libkern/c++/OSSymbol.h>

Data Types

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    typedef UInt32 IOMediumType;

    Discussion

    A 32-bit value divided into fields which describes a single medium type.

    Import Statement

    Availability

    Available in OS X v10.0 and later.

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    #define kIOMediumFlags "Flags" #define kIOMediumIndex "Index" #define kIOMediumSpeed "Speed" #define kIOMediumType "Type"

    Constants

    • kIOMediumFlags

      kIOMediumFlags

      A property of IONetworkMedium objects.

      The kIOMediumFlags property is an OSNumber object that describes a set of attributes assigned to the medium.

      Available in OS X v10.0 and later.

    • kIOMediumIndex

      kIOMediumIndex

      A property of IONetworkMedium objects.

      The kIOMediumIndex property is an OSNumber object that describes an index assigned by the owner of the medium object. Its interpretation is driver specific.

      Available in OS X v10.0 and later.

    • kIOMediumSpeed

      kIOMediumSpeed

      A property of IONetworkMedium objects.

      The kIOMediumSpeed property is an OSNumber object that describes the maximum link speed supported by the medium in bits per second.

      Available in OS X v10.0 and later.

    • kIOMediumType

      kIOMediumType

      A property of IONetworkMedium objects.

      The kIOMediumType property is an OSNumber object that describes the type of medium that this object represents.

      Available in OS X v10.0 and later.

    Import Statement