WNV_POLICY_MISMATCH_PARAM structure (wnvapi.h)

Specifies the parameters of an event (typically an incoming packet) that causes the Windows Network Virtualization (WNV) driver to generate a WnvPolicyMismatchType notification. As a result, the WNV driver fills the buffer that is passed in the NotificationParam argument's WNV_NOTIFICATION_PARAM structure with one or more instances of this structure and completes the WnvRequestNotification function call.

Syntax

typedef struct _WNV_POLICY_MISMATCH_PARAM {
  ADDRESS_FAMILY CAFamily;
  ADDRESS_FAMILY PAFamily;
  ULONG          VirtualSubnetId;
  WNV_IP_ADDRESS CA;
  WNV_IP_ADDRESS PA;
} WNV_POLICY_MISMATCH_PARAM, *PWNV_POLICY_MISMATCH_PARAM;

Members

CAFamily

Type: ADDRESS_FAMILY

The address family (AF_INET or AF_INET6) for the customer address.

PAFamily

Type: ADDRESS_FAMILY

The address family (AF_INET or AF_INET6) for the provider address.

VirtualSubnetId

Type: ULONG

The identifier of a customer virtual subnet. This value ranges from 4096 (0x00001000) to 16777214 (0x00FFFFFE).

CA

Type: WNV_IP_ADDRESS

The IP address object for the customer address, which is the IP address configured on the virtual machine for network virtualization.

PA

Type: WNV_IP_ADDRESS

The IP address object for the provider address, which is the matching IP address used on the physical network for the customer address.

Remarks

For a detailed description of network virtualization concepts and terminology, see Hyper-V Network Virtualization Overview.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Header wnvapi.h

See also

WNV_NOTIFICATION_TYPE