Contents

setPromiscuousMode

Enables or disables promiscuous mode.

Declaration

virtual IOReturn setPromiscuousMode(
 boolactive);

Parameters

  • active:

    True to enable promiscuous mode, 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 promiscuous filter identified by kIOPacketFilterPromiscuous. This method is called from the workloop context.

See Also

Miscellaneous