IPSEC_TUNNEL_ENDPOINTS2
Collapse the table of content
Expand the table of content

IPSEC_TUNNEL_ENDPOINTS2 structure

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

Note  IPSEC_TUNNEL_ENDPOINTS2 is the specific implementation of IPSEC_TUNNEL_ENDPOINTS used in Windows 8. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows 7, IPSEC_TUNNEL_ENDPOINTS1 is available. For Windows Vista, IPSEC_TUNNEL_ENDPOINTS0 is available.
 

Syntax


typedef struct IPSEC_TUNNEL_ENDPOINTS2_ {
  FWP_IP_VERSION         ipVersion;
  union {
    UINT32 localV4Address;
    UINT8  localV6Address[16];
  };
  union {
    UINT32 remoteV4Address;
    UINT8  remoteV6Address[16];
  };
  UINT64                 localIfLuid;
  wchar_t                *remoteFqdn;
  UINT32                 numAddresses;
  IPSEC_TUNNEL_ENDPOINT0 *remoteAddresses;
} IPSEC_TUNNEL_ENDPOINTS2;

Members

ipVersion

Type: FWP_IP_VERSION

Specifies the IP version. In tunnel mode, this is the version of the outer header.

( unnamed union )

switch_type(FWP_IP_VERSION), switch_is(ipVersion)

Tagged union containing the local tunnel end point address.

localV4Address

Type: UINT32

case(FWP_IP_VERSION_V4)

localV6Address

Type: UINT8[16]

case(FWP_IP_VERSION_V6)

( unnamed union )

switch_type(FWP_IP_VERSION), switch_is(ipVersion)

Tagged union containing the remote tunnel end point address.

remoteV4Address

Type: UINT32

case(FWP_IP_VERSION_V4)

remoteV6Address

Type: UINT8[16]

case(FWP_IP_VERSION_V6)

localIfLuid

Type: UINT64

Optional LUID of the local interface corresponding to the local address specified above.

remoteFqdn

Type: wchar_t*

Configuration of multiple remote addresses and fully qualified domain names for asymmetric tunneling support.

numAddresses

Type: UINT32

The number of remote tunnel addresses.

remoteAddresses

Type: IPSEC_TUNNEL_ENDPOINT0*

[size_is(numAddresses)]

The remote tunnel end point address information.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Ipsectypes.h

IDL

Ipsectypes.idl

See also

Windows Filtering Platform API Structures
FWP_IP_VERSION

 

 

Show:
© 2016 Microsoft