Partager via


FWP_V6_ADDR_AND_MASK (Compact 7)

3/12/2014

This structure specifies an IPv6 address and mask.

Syntax

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

Members

  • addr
    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

Header

fwpmu.h

See Also

Reference

WFP Shared Structures

Other Resources

Windows Filtering Platform