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
createInterfacedisablePacketFilterenablePacketFilterfreegetHardwareAddress(IOEthernetAddress *)getHardwareAddress(void *, UInt32 *)getMaxPacketSizegetMinPacketSizegetPacketFilters(const OSSymbol *, UInt32 *)getPacketFilters(UInt32 *)getVlanTagDemandinitinitializepublishPropertiessetHardwareAddress(const IOEthernetAddress *)setHardwareAddress(const void *, UInt32)setMulticastListsetMulticastModesetVlanTagsetWakeOnMagicPacket