// ndis.h
typedef struct _NDIS_PD_FILTER_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_GFP_PROFILE_ID MatchProfileId;
ULONG Priority;
NDIS_PD_COUNTER_HANDLE CounterHandle;
NDIS_PD_QUEUE *TargetReceiveQueue;
ULONG64 RxFilterContext;
PUCHAR HeaderGroupMatchArray;
ULONG HeaderGroupMatchArrayNumElements;
ULONG HeaderGroupMatchArrayElementSize;
ULONG HeaderGroupMatchArrayTotalSize;
} NDIS_PD_FILTER_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
This structure holds metadata for a packet filter.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_PD_FILTER_PARAMETERS structure. Set the members of this structure as follows:
FlagsThis member is reserved and must be set to 0 by the client. It is ignored by the provider.
MatchProfileIdThis value is used to determine if the HeaderGroupMatchArray members describe an NDIS_GFP_HEADER_GROUP_EXACT_MATCH array or a NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH array.
PriorityThe priority of this filter.
CounterHandleA handle to a counter.
TargetReceiveQueueThe target receive queue to filter.
RxFilterContextThe context for the receive filter.
HeaderGroupMatchArrayAn array of either NDIS_GFP_HEADER_GROUP_EXACT_MATCH or NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH elements as determined by the MatchProfileId member.
HeaderGroupMatchArrayNumElementsThe number of elements for the HeaderGroupMatchArray.
HeaderGroupMatchArrayElementSizeThe size of each element for the HeaderGroupMatchArray.
HeaderGroupMatchArrayTotalSizeThe total size of the HeaderGroupMatchArray.
This structure must be aligned on an 8-byte boundary.