Contents

createInterface

Creates an IOEthernetInterface object.

Declaration

virtual IONetworkInterface * createInterface();

Return Value

Returns a newly allocated and initialized IOEthernetInterface object.

Overview

This method allocates and returns a new IOEthernetInterface instance. A subclass of IONetworkController must implement this method and return a matching interface object. The implementation in IOEthernetController will return an IOEthernetInterface object. Subclasses of IOEthernetController, such as Ethernet controller drivers, will have little reason to override this implementation.

See Also

Miscellaneous