2.2.4 FW_IPV4_SUBNET

This structure defines IPv4 subnets. It is used in policy rules.

 typedef struct _tag_FW_IPV4_SUBNET {
   unsigned long dwAddress;
   unsigned long dwSubNetMask;
 } FW_IPV4_SUBNET,
  *PFW_IPV4_SUBNET;

dwAddress: This field represents the IPv4 address.

dwSubNetMask: This field contains the subnet mask in host network order. If it contains ones, they MUST be contiguous and shifted to the most significant bits.

A dwSubNetMask of 0x00000000 is invalid. A subnet mask of 0xFFFFFFFF means that the subnet mask represents a single address.