IPSEC_GETSPI0 structure (ipsectypes.h)

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

 

Syntax

typedef struct IPSEC_GETSPI0_ {
  IPSEC_TRAFFIC0         inboundIpsecTraffic;
  FWP_IP_VERSION         ipVersion;
  union {
    IPSEC_V4_UDP_ENCAPSULATION0 *inboundUdpEncapsulation;
  };
  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

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

See also

Windows Filtering Platform API Structures