FDDI_QUERY_PACKET_FILTER

UINT
   FDDI_QUERY_PACKET_FILTER(
       IN PFDDI_FILTER Filter,
       IN NDIS_HANDLE NdisFilterHandle
       );

FDDI_QUERY_PACKET_FILTER is called by the NIC driver to query the FDDI filter classes for a binding.

Parameters

Filter

Points to a previously created and initialized filter library database.

NdisFilterHandle

Specifies the handle that the filter library associates with the binding filter.

Return Value

FDDI_QUERY_PACKET_FILTER returns a value representing the currently enabled filter classes for the binding.

Comments

The 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 another binding has altered the filter classes. Before calling this macro, the NIC driver should call FddiNumberOfOpenFilterLongAddresses or FddiNumberOfOpenFilterShortAddresses to obtain the number of multicast addresses in the binding filter.

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

See Also

FddiNumberOfOpenFilterLongAddresses, FddiNumberOfOpenFilterShortAddresses