FWP_IP_VERSION enumeration (fwptypes.h)

The FWP_IP_VERSION enumerated type specifies the IP version.

Syntax

typedef enum FWP_IP_VERSION_ {
  FWP_IP_VERSION_V4 = 0,
  FWP_IP_VERSION_V6,
  FWP_IP_VERSION_NONE,
  FWP_IP_VERSION_MAX
} FWP_IP_VERSION;

Constants

 
FWP_IP_VERSION_V4
Value: 0
Specifies IPv4.
FWP_IP_VERSION_V6
Specifies IPv6.
FWP_IP_VERSION_NONE
Reserved.
FWP_IP_VERSION_MAX
Maximum value for testing purposes.

Requirements

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