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

    typedef UInt32 IOMediumType;

    Discussion

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

    Import Statement

Constants

See the Overview section above for header-level documentation.

  • Declaration

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

    Constants

    • kIOMediumFlags

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

    • kIOMediumIndex

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

    • kIOMediumSpeed

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

    • kIOMediumType

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