ETH_QUERY_FILTER_CLASSES

UINT
   ETH_QUERY_FILTER_CLASSES(
       IN PETH_FILTER Filter
       );

ETH_QUERY_FILTER_CLASSES is called by the NIC driver to query the Ethernet filter classes for a network interface card.

Parameters

Filter

Points to a previously created and initialized filter library database.

Return Value

ETH_QUERY_FILTER_CLASSES returns a value representing the currently enabled filter classes.

Comments

A NIC driver calls this macro before it alters registers on the network interface card to effect filtering. The timing of the call is important if a binding has altered the multicast address list.

A caller must be holding the database spin lock to use this macro, so the driver is running at IRQL DISPATCH_LEVEL.