NetReceiveFilterGetPacketFilter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netadapter.h

NET_PACKET_FILTER_FLAGS NetReceiveFilterGetPacketFilter(
  [_In_] NETRECEIVEFILTER ReceiveFilter
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-netreceivefiltergetpacketfilter)

Description

The NetReceiveFilterGetPacketFilter function retrieves the NET_PACKET_FILTER_FLAGS. These flags describe the packet filters that the network adapter supports.

Parameters

ReceiveFilter [_In_]

A handle to a NETRECEIVEFILTER object.

Return value

Returns a NET_PACKET_FILTER_FLAGS enumeration.

Remarks

Client drivers typically call NetReceiveFilterGetPacketFilter during their EvtNetAdapterSetReceiveFilter callback to get an updated set of NET_PACKET_FILTER_FLAGS that the NIC must filter.

See also

EVT_NET_ADAPTER_SET_RECEIVE_FILTER

NET_PACKET_FILTER_FLAGS

NetReceiveFilterGetMulticastAddressCount

NetReceiveFilterGetMulticastAddressList