NET_PACKET_FILTER_TYPES_FLAGS Enumeration

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

Specifies packet filters that control the types of packets the NIC completes on its receive path.

Syntax

typedef enum _NET_PACKET_FILTER_TYPES_FLAGS {
  NET_PACKET_FILTER_TYPE_DIRECTED,
  NET_PACKET_FILTER_TYPE_MULTICAST,
  NET_PACKET_FILTER_TYPE_ALL_MULTICAST,
  NET_PACKET_FILTER_TYPE_BROADCAST,
  NET_PACKET_FILTER_TYPE_SOURCE_ROUTING,
  NET_PACKET_FILTER_TYPE_PROMISCUOUS,
  NET_PACKET_FILTER_TYPE_ALL_LOCAL,
  NET_PACKET_FILTER_TYPE_MAC_FRAME,
  NET_PACKET_FILTER_TYPE_NO_LOCAL
} NET_PACKET_FILTER_TYPES_FLAGS;

Constants

NET_PACKET_FILTER_TYPE_DIRECTED The NIC should receive directed packets that contain a destination address equal to the station address of the NIC.
NET_PACKET_FILTER_TYPE_MULTICAST Multicast address packets contain a destination address equal to one of the addresses in the multicast address list.
NET_PACKET_FILTER_TYPE_ALL_MULTICAST All multicast address packets, not just the ones enumerated in the multicast address list.
NET_PACKET_FILTER_TYPE_BROADCAST Broadcast packets.
NET_PACKET_FILTER_TYPE_SOURCE_ROUTING All source routing packets. If the protocol driver sets this bit, the NDIS library attempts to act as a source routing bridge.
NET_PACKET_FILTER_TYPE_PROMISCUOUS Specifies all packets regardless of whether VLAN filtering is enabled or not and whether the VLAN identifier matches or not.
NET_PACKET_FILTER_TYPE_ALL_LOCAL All packets sent by installed protocols and all packets indicated by the NIC that is identified by a given *NdisBindingHandle*.
NET_PACKET_FILTER_TYPE_MAC_FRAME NIC driver frames that a Token Ring NIC receives.
NET_PACKET_FILTER_TYPE_NO_LOCAL No local packets. This prevents looping back of packets. For more info, see [Looping Back NDIS Packets](https://docs.microsoft.com/windows-hardware/drivers/network/looping-back-ndis-packets).

Remarks

The NET_PACKET_FILTER_TYPES_FLAGS enumeration is used to specify supported packet filters in the NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.

The client driver passes an initialized NET_ADAPTER_LINK_LAYER_CAPABILITIES structure as an input parameter value to NetAdapterSetLinkLayerCapabilities.

For info about the data path, see Transferring Network Data.

Requirements

   
Minimum KMDF version 1.21
Header netadapter.h

See Also

NET_ADAPTER_LINK_LAYER_CAPABILITIES

OID_GEN_CURRENT_PACKET_FILTER