IPSEC_SA_DETAILS1 structure (ipsectypes.h)

The IPSEC_SA_DETAILS1 structure is used to store information returned when enumerating IPsec security associations (SAs). 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;
  };
  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

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

See also

FWPM_FILTER0

FWP_DIRECTION

FWP_IP_VERSION

IPSEC_SA_BUNDLE1

IPSEC_TRAFFIC1

IPSEC_V4_UDP_ENCAPSULATION0

IPSEC_VIRTUAL_IF_TUNNEL_INFO0

Windows Filtering Platform API Structures