IPSEC_TUNNEL_ENDPOINTS0 structure (ipsectypes.h)

The IPSEC_TUNNEL_ENDPOINTS0 structure is used to store end points of a tunnel mode SA. IPSEC_TUNNEL_ENDPOINTS2 is available.

Syntax

typedef struct IPSEC_TUNNEL_ENDPOINTS0_ {
  FWP_IP_VERSION ipVersion;
  union {
    UINT32 localV4Address;
    UINT8  localV6Address[16];
  };
  union {
    UINT32 remoteV4Address;
    UINT8  remoteV6Address[16];
  };
} IPSEC_TUNNEL_ENDPOINTS0;

Members

ipVersion

IP version of the addresses.

See FWP_IP_VERSION for more information.

localV4Address

case(FWP_IP_VERSION_V4)

localV6Address[16]

case(FWP_IP_VERSION_V6)

switch_type(FWP_IP_VERSION), switch_is(ipVersion)

Tagged union containing the remote tunnel end point address.

remoteV4Address

case(FWP_IP_VERSION_V4)

remoteV6Address[16]

case(FWP_IP_VERSION_V6)

Remarks

For the unnamed union containing the local tunnel end point address, switch_type(FWP_IP_VERSION), switch_is(ipVersion).

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

FWP_IP_VERSION

Windows Filtering Platform API structures