Contents

setHardwareAddress

Sets or changes the station address used by the network controller.

Declaration

virtual IOReturn setHardwareAddress(
 const void *addr, 
 UInt32addrBytes) = 0;

Parameters

  • addr:

    The buffer containing the hardware address provided by the client.

  • addrBytes:

    The size of the address buffer provided by the client 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