ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IONetworkMedium.h

Include:

Path <IOKit/network/IONetworkMedium.h>

See Also:
Includes:

Overview

IONetworkMedium instances allow network drivers to advertise their media capabilities. This data is encapsulated in the IONetworkMedia class, which offers various structures that hold the data.



Classes

IONetworkMedium

An object that encapsulates information about a network medium (i.e. 10Base-T, or 100Base-T Full Duplex).



Typedefs


IOMediumType


typedef UInt32 IOMediumType;  
Discussion

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

#defines


kIOMediumFlags


A property of IONetworkMedium objects.

#define kIOMediumFlags "Flags" 
Discussion

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


kIOMediumIndex


A property of IONetworkMedium objects.

#define kIOMediumIndex "Index" 
Discussion

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


A property of IONetworkMedium objects.

#define kIOMediumSpeed "Speed" 
Discussion

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


kIOMediumType


A property of IONetworkMedium objects.

#define kIOMediumType "Type" 
Discussion

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


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19