Expand Minimize

IPSEC_TUNNEL_ENDPOINTS1 structure

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

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

Syntax


typedef struct IPSEC_TUNNEL_ENDPOINTS1_ {
  FWP_IP_VERSION ipVersion;
  union {
    UINT32 localV4Address;
    UINT8  localV6Address[16];
  };
  union {
    UINT32 remoteV4Address;
    UINT8  remoteV6Address[16];
  };
  UINT64         localIfLuid;
} IPSEC_TUNNEL_ENDPOINTS1;

Members

ipVersion

An FWP_IP_VERSION value that 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

case(FWP_IP_VERSION_V4)

localV6Address

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

case(FWP_IP_VERSION_V4)

remoteV6Address

case(FWP_IP_VERSION_V6)

localIfLuid

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Ipsectypes.h

IDL

Ipsectypes.idl

See also

Windows Filtering Platform API Structures
FWP_IP_VERSION

 

 

Community Additions

ADD
Show:
© 2014 Microsoft