SetWakeOnMagicPacketEnable
Enables or disables support for waking up the device when a specially formatted packet arrives.
Declaration
virtual kern_return_t SetWakeOnMagicPacketEnable(bool enable);Parameters
- enable:
If
YES, enable promiscuous mode for the device; otherwise, disable it.
Return Value
kIOReturnSuccess on success, or another value if an error occurred.
Discussion
Override this method and use it to configure your driver’s wake-on-magic-packet support.