FWP_V6_ADDR_AND_MASK structure (fwptypes.h)

The FWP_V6_ADDR_AND_MASK structure specifies an IPv6 address and mask.

Syntax

typedef struct FWP_V6_ADDR_AND_MASK_ {
  UINT8 addr[16];
  UINT8 prefixLength;
} FWP_V6_ADDR_AND_MASK;

Members

addr[16]

An array of size FWP_V6_ADDR_SIZE bytes containing an IPv6 address. FWP_V6_ADDR_SIZE maps to 16.

prefixLength

Value specifying the prefix length of the IPv6 address.

Remarks

The mask is specified by the width in bits. For example, a prefixLength of 16 specifies a mask consisting of 16 1's followed by 112 0's.

Requirements

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

See also

Windows Filtering Platform API Structures