IPSEC_SA_DETAILS1 structure

The IPSEC_SA_DETAILS1 structure is used to store information returned when enumerating IPsec security associations (SAs).

Note  IPSEC_SA_DETAILS1 is the specific implementation of IPSEC_SA_DETAILS used in Windows 7 and later. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows Vista, IPSEC_SA_DETAILS0 is available.
 

Syntax


typedef struct IPSEC_SA_DETAILS1_ {
  FWP_IP_VERSION                ipVersion;
  FWP_DIRECTION                 saDirection;
  IPSEC_TRAFFIC1                traffic;
  IPSEC_SA_BUNDLE1              saBundle;
  union {
    IPSEC_V4_UDP_ENCAPSULATION0 *udpEncapsulation;
    ;      // case(FWP_IP_VERSION_V6)
  };
  FWPM_FILTER0                  *transportFilter;
  IPSEC_VIRTUAL_IF_TUNNEL_INFO0 *virtualIfTunnelInfo;
} IPSEC_SA_DETAILS1;

Members

ipVersion

An FWP_IP_VERSION value that specifies the IP version. In tunnel mode, this is the version of the outer header.

saDirection

An FWP_DIRECTION value that indicates the direction of the IPsec SA.

traffic

An IPSEC_TRAFFIC1 structure that specifies the traffic being secured by this IPsec SA. In tunnel mode, this contains both the tunnel endpoints and Quick Mode (QM) traffic selectors.

saBundle

An IPSEC_SA_BUNDLE1 structure that specifies various parameters of the SA .

udpEncapsulation

An IPSEC_V4_UDP_ENCAPSULATION0 structure that stores the UDP encapsulation ports if UDP-ESP encapsulation is enabled on the SA.

Available if ipVersion is FWP_IP_VERSION_V4.

transportFilter

An FWPM_FILTER0 structure that specifies the transport layer filter that corresponds to this IPsec SA.

virtualIfTunnelInfo

An IPSEC_VIRTUAL_IF_TUNNEL_INFO0 structure that specifies the virtual interface tunnel information. Only supported by Internet Key Exchange version 2 (IKEv2).

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
FWP_DIRECTION
IPSEC_TRAFFIC1
IPSEC_SA_BUNDLE1
IPSEC_V4_UDP_ENCAPSULATION0
FWPM_FILTER0
IPSEC_VIRTUAL_IF_TUNNEL_INFO0

 

 

Show: