getPacketFilters(const OSSymbol *, UInt32 *)
Gets the set of packet filters supported by the Ethernet controller in the given filter group.
Declaration
virtual IOReturn getPacketFilters(
const OSSymbol *group,
UInt32 *filters) const;Parameters
- group:
The name of the filter group.
- filters:
Pointer to the mask of supported filters returned by this method.
Return Value
Returns kIOReturnSuccess. Drivers that override this method must return kIOReturnSuccess to indicate success, or an error return code otherwise.
Overview
The default implementation of the abstract method inherited from IONetworkController. When the filter group specified is gIONetworkFilterGroup, then this method will return a value formed by a bitwise OR of kIOPacketFilterUnicast, kIOPacketFilterBroadcast, kIOPacketFilterMulticast, kIOPacketFilterPromiscuous. Otherwise, the return value will be set to zero (0). Subclasses must override this method if their filtering capability differs from what is reported by this default implementation. This method is called from the workloop context, and the result is published to the I/O Kit Registry.
See Also
Miscellaneous
createInterfacedisablePacketFilterenablePacketFilterfreegetHardwareAddress(IOEthernetAddress *)getHardwareAddress(void *, UInt32 *)getMaxPacketSizegetMinPacketSizegetPacketFilters(UInt32 *)getVlanTagDemandinitinitializepublishPropertiessetHardwareAddress(const IOEthernetAddress *)setHardwareAddress(const void *, UInt32)setMulticastListsetMulticastModesetPromiscuousModesetVlanTagsetWakeOnMagicPacket