Contents

getHardwareAddress(IOEthernetAddress *)

Gets the Ethernet controller's permanent station address.

Declaration

virtual IOReturn getHardwareAddress(
 IOEthernetAddress *addrP) = 0;

Parameters

  • addrP:

    Pointer to an IOEthernetAddress where the hardware address should be returned.

Return Value

Returns kIOReturnSuccess on success, or an error return code otherwise.

Overview

Ethernet drivers must implement this method, by reading the address from hardware and writing it to the buffer provided. This method is called from the workloop context.

See Also

Miscellaneous