Class

IOEthernetInterface

The Ethernet interface object.

Declaration

class IOEthernetInterface : IONetworkInterface

Overview

An Ethernet controller driver, that is a subclass of IOEthernetController, will instantiate an object of this class when the driver calls the attachInterface() method. This interface object will then vend an Ethernet interface to DLIL, and manage the connection between the controller driver and the upper networking layers. Drivers will seldom need to subclass IOEthernetInterface.

Topics

Miscellaneous

- controllerDidChangePowerState

Handles a notification that the network controller servicing this interface object has transitioned to a new power state.

- controllerDidOpen

A notification that the interface has opened the network controller.

- controllerWillChangePowerState

Handles a notification that the network controller servicing this interface object is about to transition to a new power state.

- controllerWillClose

A notification that the interface will close the network controller.

- free

Frees the IOEthernetInterface instance.

- getNamePrefix

Returns a string containing the prefix to use when creating a BSD name for this interface.

- init

Initializes an IOEthernetInterface instance.

- performCommand

Handles an ioctl command sent to the Ethernet interface.

Instance Variables

Relationships

Inherits From