Contents

disablePacketFilter

Disables a packet filter that is currently enabled from the given filter group.

Declaration

virtual IOReturn disablePacketFilter(
 const OSSymbol *group, 
 UInt32 aFilter, 
 UInt32 enabledFilters, 
 IOOptionBits options = 0) = 0;

Parameters

  • group:

    The name of the filter group containing the filter to be disabled.

  • aFilter:

    The filter to disable.

  • enabledFilters:

    All filters currently enabled by the client.

  • options:

    Optional flags for the disable request.

Return Value

Returns kIOReturnSuccess on success, or an error otherwise.

Overview

After a supported filter has been successfully enabled, a client can call this method to disable that filter. This method call is synchronized by the workloop's gate.

See Also

Miscellaneous