The filter weight identifiers used by the Base Filtering Engine (BFE) to compute auto-generated filter weights are listed below.
See Filter Weight Assignment for more information on filter weight generation.
FWPM_AUTO_WEIGHT_BITS
(60)
Number of bits used for auto-generated filter weights.
FWPM_AUTO_WEIGHT_MAX
(MAXUINT64 >> 4)
Maximum auto-generated filter weight.
FWPM_WEIGHT_RANGE_IKE_EXEMPTIONS
(0xC)
BFE assigns a weight with this range value to IKE and AuthIP filters.
See IKE/AuthIP Exemptions for more information on IKE/AuthIP filters.
FWPM_WEIGHT_RANGE_IPSEC
(0x0)
BFE assigns a weight with this range value to IPsec policy filters.
FWPM_WEIGHT_RANGE_MAX
(MAXUINT64 >> 60)
Maximum allowed filter weight range value.
Note:
MAXUINT64 represents the largest possible value of UINT64. The value of this constant is 0xFFFFFFFFFFFFFFFF.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | Fwpmu.h |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
