Contents

setWakeOnMagicPacket

Enables or disables the wake on Magic Packet support.

Declaration

virtual IOReturn setWakeOnMagicPacket(
 boolactive);

Parameters

  • active:

    True to enable support for system wake on reception of a Magic Packet, false to disable it.

Return Value

Returns kIOReturnUnsupported. If overridden, drivers must return kIOReturnSuccess on success, or an error return code otherwise.

Overview

Called by enablePacketFilter() or disablePacketFilter() when there is a change in the activation state of the Wake-on-LAN filter identified by kIOEthernetWakeOnMagicPacket. This method is called from the workloop context.

See Also

Miscellaneous