Filtering Conditions Available at Each Filtering Layer

The Windows Filtering Platform (WFP) filter engine supports a different set of filtering conditions at each of its filtering layers.

The list of filtering conditions that are available at each layer are as follows.

FWPM_LAYER_INBOUND_IPPACKET_V4 / FWPM_LAYER_INBOUND_IPPACKET_V4_DISCARD / FWPM_LAYER_INBOUND_IPPACKET_V6 / FWPM_LAYER_INBOUND_IPPACKET_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

FWPM_LAYER_OUTBOUND_IPPACKET_V4 / FWPM_LAYER_OUTBOUND_IPPACKET_V4_DISCARD / FWPM_LAYER_OUTBOUND_IPPACKET_V6 / FWPM_LAYER_OUTBOUND_IPPACKET_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

FWPM_LAYER_IPFORWARD_V4 / FWPM_LAYER_IPFORWARD_V4_DISCARD / FWPM_LAYER_IPFORWARD_V6 / FWPM_LAYER_IPFORWARD_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_DESTINATION\_INTERFACE\_INDEX
FWPM\_CONDITION\_DESTINATION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_FORWARD\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_SOURCE\_ADDRESS
FWPM\_CONDITION\_SOURCE\_INTERFACE\_INDEX
FWPM\_CONDITION\_SOURCE\_SUB\_INTERFACE\_INDEX

**Windows 7 and later: **

FWPM\_CONDITION\_IP\_PHYSICAL\_ARRIVAL\_INTERFACE
FWPM\_CONDITION\_IP\_PHYSICAL\_NEXTHOP\_INTERFACE
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_PROFILE\_ID
FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_PROFILE\_ID

FWPM_LAYER_INBOUND_TRANSPORT_V4 / FWPM_LAYER_INBOUND_TRANSPORT_V4_DISCARD / FWPM_LAYER_INBOUND_TRANSPORT_V6 / FWPM_LAYER_INBOUND_TRANSPORT_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_CURRENT\_PROFILE\_ID

FWPM_LAYER_OUTBOUND_TRANSPORT_V4 / FWPM_LAYER_OUTBOUND_TRANSPORT_V4_DISCARD / FWPM_LAYER_OUTBOUND_TRANSPORT_V6 / FWPM_LAYER_OUTBOUND_TRANSPORT_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_CURRENT\_PROFILE\_ID

FWPM_LAYER_STREAM_V4 / FWPM_LAYER_STREAM_V4_DISCARD / FWPM_LAYER_STREAM_V6 / FWPM_LAYER_STREAM_V6_DISCARD

FWPM\_CONDITION\_DIRECTION
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT

FWPM_LAYER_DATAGRAM_DATA_V4 / FWPM_LAYER_DATAGRAM_DATA_V4_DISCARD / FWPM_LAYER_DATAGRAM_DATA_V6 / FWPM_LAYER_DATAGRAM_DATA_V6_DISCARD

FWPM\_CONDITION\_DIRECTION
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

FWPM_LAYER_STREAM_PACKET V4 / FWPM_LAYER_STREAM_PACKET V6

**Windows 7 and later: **

FWPM\_CONDITION\_DIRECTION
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

FWPM_LAYER_INBOUND_ICMP_ERROR_V4 / FWPM_LAYER_INBOUND_ICMP_ERROR_V4_DISCARD / FWPM_LAYER_INBOUND_ICMP_ERROR_V6 / FWPM_LAYER_INBOUND_ICMP_ERROR_V6_DISCARD

FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_INDEX
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_TYPE
FWPM\_CONDITION\_ARRIVAL\_SUB\_INTERFACE\_INDEX

Windows Vista / Windows 7: FWPM_CONDITION_SUB_INTERFACE_INDEX

FWPM\_CONDITION\_ARRIVAL\_TUNNEL\_TYPE
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_ICMP\_CODE
FWPM\_CONDITION\_ICMP\_TYPE
FWPM\_CONDITION\_EMBEDDED\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_EMBEDDED\_LOCAL\_PORT
FWPM\_CONDITION\_EMBEDDED\_PROTOCOL
FWPM\_CONDITION\_EMBEDDED\_REMOTE\_ADDRESS
FWPM\_CONDITION\_EMBEDDED\_REMOTE\_PORT
FWPM\_CONDITION\_IP\_ARRIVAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_LOCAL\_INTERFACE\_INDEX

Windows Vista / Windows 7: FWPM_CONDITION_INTERFACE_INDEX

FWPM\_CONDITION\_LOCAL\_INTERFACE\_TYPE

Windows Vista / Windows 7: FWPM_CONDITION_INTERFACE_TYPE

FWPM\_CONDITION\_LOCAL\_TUNNEL\_TYPE

Windows Vista / Windows 7: FWPM_CONDITION_TUNNEL_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_PROFILE\_ID

FWPM_LAYER_OUTBOUND_ICMP_ERROR_V4 / FWPM_LAYER_OUTBOUND_ICMP_ERROR_V4_DISCARD / FWPM_LAYER_OUTBOUND_ICMP_ERROR_V6 / FWPM_LAYER_OUTBOUND_ICMP_ERROR_V6_DISCARD

FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_ICMP\_CODE
FWPM\_CONDITION\_ICMP\_TYPE
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_PROFILE\_ID

FWPM_LAYER_ALE_BIND_REDIRECT_V4 / FWPM_LAYER_ALE_BIND_REDIRECT V6

**Windows 7 and later: **

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4 / FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4_DISCARD / FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V6 / FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V6_DISCARD

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_PROMISCUOUS\_MODE
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_LOCAL\_INTERFACE\_PROFILE\_ID
FWPM\_CONDITION\_ALE\_SIO\_FIREWALL\_SYSTEM\_PORT

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_RESOURCE_RELEASE_V4 / FWPM_LAYER_ALE_RESOURCE_RELEASE_V6

**Windows 7 and later: **

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_ENDPOINT_CLOSURE_V4 / FWPM_LAYER_ALE_ENDPOINT_CLOSURE_V6

**Windows 7 and later: **

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_AUTH_LISTEN_V4 / FWPM_LAYER_ALE_AUTH_LISTEN_V4_DISCARD / FWPM_LAYER_ALE_AUTH_LISTEN_V6 / FWPM_LAYER_ALE_AUTH_LISTEN_V6_DISCARD

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_LOCAL\_INTERFACE\_PROFILE\_ID
FWPM\_CONDITION\_ALE\_SIO\_FIREWALL\_SYSTEM\_PORT

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4 / FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4_DISCARD / FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V6 / FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V6_DISCARD

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_NAP\_CONTEXT
FWPM\_CONDITION\_ALE\_REMOTE\_MACHINE\_ID
FWPM\_CONDITION\_ALE\_REMOTE\_USER\_ID
FWPM\_CONDITION\_ALE\_SIO\_FIREWALL\_SYSTEM\_PORT
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_INDEX
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_TYPE
FWPM\_CONDITION\_ARRIVAL\_SUB\_INTERFACE\_INDEX

Windows Vista / Windows 7: FWPM_CONDITION_SUB_INTERFACE_INDEX

FWPM\_CONDITION\_ARRIVAL\_TUNNEL\_TYPE
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_ARRIVAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_LOCAL\_INTERFACE\_INDEX

Windows Vista / Windows 7: FWPM_CONDITION_INTERFACE_INDEX

FWPM\_CONDITION\_LOCAL\_INTERFACE\_TYPE

Windows Vista / Windows 7: FWPM_CONDITION_INTERFACE_TYPE

FWPM\_CONDITION\_LOCAL\_TUNNEL\_TYPE

Windows Vista / Windows 7: FWPM_CONDITION_TUNNEL_TYPE

**Windows 7 and later: **

FWPM\_CONDITION\_NEXTHOP\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_IP\_NEXTHOP\_INTERFACE
FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_TYPE
FWPM\_CONDITION\_NEXTHOP\_TUNNEL\_TYPE
FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_INDEX
FWPM\_CONDITION\_ORIGINAL\_PROFILE\_ID
FWPM\_CONDITION\_CURRENT\_PROFILE\_ID
FWPM\_CONDITION\_REAUTHORIZE\_REASON
FWPM\_CONDITION\_ORIGINAL\_ICMP\_TYPE

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_CONNECT_REDIRECT_V4 / FWPM_LAYER_ALE_CONNECT_REDIRECT V6

**Windows 7 and later: **

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS\_TYPE

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_AUTH_CONNECT_V4 / FWPM_LAYER_ALE_AUTH_CONNECT_V4_DISCARD / FWPM_LAYER_ALE_AUTH_CONNECT_V6 / FWPM_LAYER_ALE_AUTH_CONNECT_V6_DISCARD

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_REMOTE\_MACHINE\_ID
FWPM\_CONDITION\_ALE\_REMOTE\_USER\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_TUNNEL\_TYPE
FWPM\_CONDITION\_IP\_ARRIVAL\_INTERFACE
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_TYPE
FWPM\_CONDITION\_ARRIVAL\_TUNNEL\_TYPE
FWPM\_CONDITION\_ARRIVAL\_INTERFACE\_INDEX

Windows Vista with SP1 and later: FWPM_CONDITION_INTERFACE_INDEX

**Windows 7 and later: **

FWPM\_CONDITION\_NEXTHOP\_SUB\_INTERFACE\_INDEX
FWPM\_CONDITION\_IP\_NEXTHOP\_INTERFACE
FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_TYPE
FWPM\_CONDITION\_NEXTHOP\_TUNNEL\_TYPE
FWPM\_CONDITION\_NEXTHOP\_INTERFACE\_INDEX
FWPM\_CONDITION\_ORIGINAL\_PROFILE\_ID
FWPM\_CONDITION\_CURRENT\_PROFILE\_ID
FWPM\_CONDITION\_REAUTHORIZE\_REASON
FWPM\_CONDITION\_PEER\_NAME
FWPM\_CONDITION\_ORIGINAL\_ICMP\_TYPE

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4 / FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4_DISCARD / FWPM_LAYER_ALE_FLOW_ESTABLISHED_V6 / FWPM_LAYER_ALE_FLOW_ESTABLISHED_V6_DISCARD

FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_ALE\_REMOTE\_MACHINE\_ID
FWPM\_CONDITION\_ALE\_REMOTE\_USER\_ID
FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_DIRECTION
FWPM\_CONDITION\_FLAGS
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT
FWPM\_CONDITION\_TUNNEL\_TYPE

**Windows 8: **

FWPM\_CONDITION\_ALE\_PACKAGE\_ID

FWPM_LAYER_NAME_RESOLUTION_CACHE_V4 / FWPM_LAYER_NAME_RESOLUTION_CACHE_V6

**Windows 7 and later: **

FWPM\_CONDITION\_ALE\_USER\_ID
FWPM\_CONDITION\_ALE\_APP\_ID
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_PEER\_NAME

FWPM_LAYER_IPSEC_KM_DEMUX_V4 / FWPM_LAYER_IPSEC_KM_DEMUX_V6

FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS

FWPM_LAYER_IPSEC_V4 / FWPM_LAYER_IPSEC_V6

FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_PORT

**Windows 7 and later: **

FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_CURRENT\_PROFILE\_ID

FWPM_LAYER_IKEEXT_V4 / FWPM_LAYER_IKEEXT_V6

FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS

**Windows 7 and later: **

FWPM\_CONDITION\_IP\_LOCAL\_INTERFACE
FWPM\_CONDITION\_CURRENT\_PROFILE\_ID

FWPM_LAYER_RPC_UM

FWPM\_CONDITION\_DCOM\_APP\_ID
FWPM\_CONDITION\_IMAGE\_NAME
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_V4
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_V6
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS\_V4
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS\_V6
FWPM\_CONDITION\_PIPE
FWPM\_CONDITION\_REMOTE\_USER\_TOKEN
FWPM\_CONDITION\_RPC\_AUTH\_LEVEL
FWPM\_CONDITION\_RPC\_AUTH\_TYPE
FWPM\_CONDITION\_RPC\_IF\_FLAG
FWPM\_CONDITION\_RPC\_IF\_UUID
FWPM\_CONDITION\_RPC\_IF\_VERSION
FWPM\_CONDITION\_RPC\_PROTOCOL
FWPM\_CONDITION\_SEC\_ENCRYPT\_ALGORITHM
FWPM\_CONDITION\_SEC\_KEY\_SIZE

FWPM_LAYER_RPC_EPMAP

FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_V4
FWPM\_CONDITION\_IP\_LOCAL\_ADDRESS\_V6
FWPM\_CONDITION\_IP\_LOCAL\_PORT
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS\_V4
FWPM\_CONDITION\_IP\_REMOTE\_ADDRESS\_V6
FWPM\_CONDITION\_PIPE
FWPM\_CONDITION\_REMOTE\_USER\_TOKEN
FWPM\_CONDITION\_RPC\_AUTH\_LEVEL
FWPM\_CONDITION\_RPC\_AUTH\_TYPE
FWPM\_CONDITION\_RPC\_IF\_UUID
FWPM\_CONDITION\_RPC\_IF\_VERSION
FWPM\_CONDITION\_RPC\_PROTOCOL
FWPM\_CONDITION\_SEC\_ENCRYPT\_ALGORITHM
FWPM\_CONDITION\_SEC\_KEY\_SIZE

FWPM_LAYER_RPC_EP_ADD

FWPM\_CONDITION\_PROCESS\_WITH\_RPC\_IF\_UUID
FWPM\_CONDITION\_RPC\_EP\_FLAGS
FWPM\_CONDITION\_RPC\_EP\_VALUE
FWPM\_CONDITION\_RPC\_PROTOCOL

FWPM_LAYER_RPC_PROXY_CONN

FWPM\_CONDITION\_CLIENT\_CERT\_KEY\_LENGTH
FWPM\_CONDITION\_CLIENT\_CERT\_OID
FWPM\_CONDITION\_CLIENT\_TOKEN
FWPM\_CONDITION\_RPC\_PROXY\_AUTH\_TYPE
FWPM\_CONDITION\_RPC\_SERVER\_NAME
FWPM\_CONDITION\_RPC\_SERVER\_PORT

FWPM_LAYER_RPC_PROXY_IF

FWPM\_CONDITION\_CLIENT\_CERT\_KEY\_LENGTH
FWPM\_CONDITION\_CLIENT\_CERT\_OID
FWPM\_CONDITION\_CLIENT\_TOKEN
FWPM\_CONDITION\_RPC\_IF\_UUID
FWPM\_CONDITION\_RPC\_IF\_VERSION
FWPM\_CONDITION\_RPC\_PROXY\_AUTH\_TYPE
FWPM\_CONDITION\_RPC\_SERVER\_NAME
FWPM\_CONDITION\_RPC\_SERVER\_PORT

FWPM_LAYER_KM_AUTHORIZATION

**Windows 7 and later: **

FWPM\_CONDITION\_REMOTE\_ID
FWPM\_CONDITION\_AUTHENTICATION\_TYPE
FWPM\_CONDITION\_KM\_TYPE
FWPM\_CONDITION\_KM\_MODE
FWPM\_CONDITION\_DIRECTION
FWPM\_CONDITION\_IPSEC\_POLICY\_KEY

FWPM_LAYER_INBOUND_MAC_FRAME_ETHERNET / FWPM_LAYER_OUTBOUND_MAC_FRAME_ETHERNET

**Windows 8: **

FWPM\_CONDITION\_INTERFACE\_MAC\_ADDRESS
FWPM\_CONDITION\_MAC\_LOCAL\_ADDRESS
FWPM\_CONDITION\_MAC\_REMOTE\_ADDRESS
FWPM\_CONDITION\_MAC\_LOCAL\_ADDRESS\_TYPE
FWPM\_CONDITION\_MAC\_REMOTE\_ADDRESS\_TYPE
FWPM\_CONDITION\_ETHER\_TYPE
FWPM\_CONDITION\_VLAN\_ID
FWPM\_CONDITION\_INTERFACE
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_NDIS\_PORT
FWPM\_CONDITION\_L2\_FLAGS

FWPM_LAYER_INBOUND_MAC_FRAME_NATIVE / FWPM_LAYER_OUTBOUND_MAC_FRAME_NATIVE

**Windows 8: **

FWPM\_CONDITION\_NDIS\_MEDIA\_TYPE
FWPM\_CONDITION\_NDIS\_PHYSICAL\_MEDIA\_TYPE
FWPM\_CONDITION\_INTERFACE
FWPM\_CONDITION\_INTERFACE\_TYPE
FWPM\_CONDITION\_INTERFACE\_INDEX
FWPM\_CONDITION\_NDIS\_PORT
FWPM\_CONDITION\_L2\_FLAGS

FWPM_LAYER_EGRESS_VSWITCH_ETHERNET / FWPM_LAYER_INGRESS_VSWITCH_ETHERNET

**Windows 8: **

FWPM\_CONDITION\_MAC\_SOURCE\_ADDRESS
FWPM\_CONDITION\_MAC\_SOURCE\_ADDRESS\_TYPE
FWPM\_CONDITION\_MAC\_DESTINATION\_ADDRESS
FWPM\_CONDITION\_MAC\_DESTINATION\_ADDRESS\_TYPE
FWPM\_CONDITION\_ETHER\_TYPE
FWPM\_CONDITION\_VLAN\_ID
FWPM\_CONDITION\_VSWITCH\_TENANT\_NETWORK\_ID
FWPM\_CONDITION\_VSWITCH\_ID
FWPM\_CONDITION\_VSWITCH\_NETWORK\_TYPE
FWPM\_CONDITION\_VSWITCH\_SOURCE\_INTERFACE\_ID
FWPM\_CONDITION\_VSWITCH\_SOURCE\_INTERFACE\_TYPE
FWPM\_CONDITION\_VSWITCH\_SOURCE\_VM\_ID
FWPM\_CONDITION\_VSWITCH\_L2\_FLAGS

FWPM_LAYER_EGRESS_VSWITCH_TRANSPORT_V4 / FWPM_LAYER_INGRESS_VSWITCH_TRANSPORT_V4 / FWPM_LAYER_EGRESSVSWITCH_TRANSPORT_V6 / FWPM_LAYER_INGRESS_VSWITCH_TRANSPORT_V6

**Windows 8: **

FWPM\_CONDITION\_IP\_SOURCE\_ADDRESS
FWPM\_CONDITION\_IP\_DESTINATION\_ADDRESS
FWPM\_CONDITION\_IP\_PROTOCOL
FWPM\_CONDITION\_IP\_SOURCE\_PORT
FWPM\_CONDITION\_IP\_DESTINATION\_PORT
FWPM\_CONDITION\_VLAN\_ID
FWPM\_CONDITION\_VSWITCH\_TENANT\_NETWORK\_ID
FWPM\_CONDITION\_VSWITCH\_ID
FWPM\_CONDITION\_VSWITCH\_NETWORK\_TYPE
FWPM\_CONDITION\_VSWITCH\_SOURCE\_INTERFACE\_ID
FWPM\_CONDITION\_VSWITCH\_SOURCE\_INTERFACE\_TYPE
FWPM\_CONDITION\_VSWITCH\_SOURCE\_VM\_ID
FWPM\_CONDITION\_VSWITCH\_DESTINATION\_INTERFACE\_ID
FWPM\_CONDITION\_VSWITCH\_DESTINATION\_INTERFACE\_TYPE
FWPM\_CONDITION\_VSWITCH\_L2\_FLAGS

Remarks

The V4 and V6 suffixes at the end of the layer identifiers indicate whether the layer is located in the IPv4 network stack or in the IPv6 network stack.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Fwpmu.h