IPSEC_GETSPI0 structure

The IPSEC_GETSPI0 structure contains information that must be supplied when requesting a security parameter index (SPI) from the IPsec driver.

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

Syntax


typedef struct IPSEC_GETSPI0_ {
  IPSEC_TRAFFIC0         inboundIpsecTraffic;
  FWP_IP_VERSION         ipVersion;
  union {
    IPSEC_V4_UDP_ENCAPSULATION0 *inboundUdpEncapsulation;
    ;      // case(FWP_IP_VERSION_V6)
  };
  IPSEC_CRYPTO_MODULE_ID *rngCryptoModuleID;
} IPSEC_GETSPI0;

Members

inboundIpsecTraffic

An IPSEC_TRAFFIC0 structure that describes traffic characteristics of the inbound IPsec SA.

ipVersion

A FWP_IP_VERSION value that indicates the IP version of the inbound IPsec traffic.

inboundUdpEncapsulation

Optional IPSEC_V4_UDP_ENCAPSULATION0 structure that specifies the IPsec NAT Traversal (NATT) UDP encapsulation ports.

Available when ipVersion is FWP_IP_VERSION_V4.

rngCryptoModuleID

Not used. A IPSEC_CRYPTO_MODULE_ID is a GUID value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ipsectypes.h

IDL

Ipsectypes.idl

See also

Windows Filtering Platform API Structures

 

 

Show: