typedef struct _STATIC_FILTER_TABLE
{
DWORD m_TableSize;
DWORD Padding;
STATIC_FILTER m_StaticFilters[ANY_SIZE];
} STATIC_FILTER_TABLE, *PSTATIC_FILTER_TABLE;
The _STATIC_FILTER_TABLE structure defines a table of static filter rules loaded into the Windows Packet Filter kernel driver (ndisrd.sys). Prior to version 3.6.1, modifying static filters required allocating a full filter table and calling SetPacketFilterTable, which completely replaced all existing active rules. With 3.6.1, developers can also add, insert, and remove individual static filters at runtime without submitting a complete replacement table.
Members
m_TableSize
The number of active STATIC_FILTER entries contained in the m_StaticFilters array.
Padding
Explicit 32-bit padding field that places m_StaticFilters at byte offset 8. Like the other exchange structures in Common.h, this type uses 1-byte packing; this field does not impose an 8-byte alignment requirement on the structure itself.
m_StaticFilters
A variable-length array of STATIC_FILTER structures. Filters are evaluated sequentially in array order (index 0 to N). The first filter matching a packet determines the filtering action.
See Also
_STATIC_FILTER, _STATIC_FILTER_WITH_POSITION, SetPacketFilterTable, ResetPacketFilterTable, Managing Individual Static Filters