IPSEC_V4_UDP_ENCAPSULATION0 structure (ipsectypes.h)

The IPSEC_V4_UDP_ENCAPSULATION0 structure stores the User Datagram Protocol (UDP) encapsulation ports for Encapsulating Security Payload (ESP) encapsulation.

Syntax

typedef struct IPSEC_V4_UDP_ENCAPSULATION0_ {
  UINT16 localUdpEncapPort;
  UINT16 remoteUdpEncapPort;
} IPSEC_V4_UDP_ENCAPSULATION0;

Members

localUdpEncapPort

Source UDP encapsulation port.

remoteUdpEncapPort

Destination UDP encapsulation port.

Remarks

This is used only when a NAT was detected as part of the IPsec NAT traversal specification.

IPSEC_V4_UDP_ENCAPSULATION0 is a specific implementation of IPSEC_V4_UDP_ENCAPSULATION. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

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

See also

Windows Filtering Platform API Structures