Contents

attachToDataLinkLayer

Attach the network interface to the BSD data link layer.

Declaration

virtual IOReturn attachToDataLinkLayer(
 IOOptionBitsoptions, 
 void *parameter );

Parameters

  • options:

    Options for the attach call. None are currently defined.

  • parameter:

    Parameter for the attach call. Not currently used.

Return Value

Returns kIOReturnSuccess on success.

Overview

This method is called internally to attach the network interface to the BSD data link layer, after an unit number has been assigned. The calling context is not synchronized against the driver's work loop. Subclasses may override this method to perform additional setup before the network stack attach. The getIfnet() method will return the BSD interface being attached.

See Also

Miscellaneous