Contents

getHardwareAddress

Gets the network controller's permanent hardware/station address.

Declaration

virtual IOReturn getHardwareAddress(
 void *addr, 
 UInt32 *inOutAddrBytes) = 0;

Parameters

  • addr:

    The buffer where the controller's hardware address should be stored.

  • inOutAddrBytes:

    The size of the address buffer provided by the client, and replaced by this method with the actual size of the hardware address in bytes.

Return Value

Returns kIOReturnSuccess on success, or an error otherwise.

Overview

This method call is synchronized by the workloop's gate.

See Also

Miscellaneous