Contents

SetPromiscuousModeEnable

Enables or disables support for monitoriong all network packets.

Declaration

virtual kern_return_t SetPromiscuousModeEnable(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 enable promiscuous mode on your device.

See Also

Configuring Link Attributes