Contents

getPacketFilters

Gets the set of packet filters supported by the network controller for the given filter group.

Declaration

virtual IOReturn getPacketFilters(
 const OSSymbol *group, 
 UInt32 *filters) const = 0;

Parameters

  • group:

    The name of the filter group.

  • filters:

    Pointer to the mask of supported filters returned by this method.

Return Value

Returns kIOReturnSuccess on success, or an error to indicate a failure to discover the set of supported filters.

Overview

A subclass must implement this method and report the set of filters that are supported for the given filter group. This method call is synchronized by the workloop's gate.

See Also

Miscellaneous