IPSEC_GETSPI1 structure (ipsectypes.h)
The IPSEC_GETSPI1 structure contains information that must be supplied when requesting a security parameter index (SPI) from the IPsec driver. IPSEC_GETSPI0 is available.
Syntax
typedef struct IPSEC_GETSPI1_ {
IPSEC_TRAFFIC1 inboundIpsecTraffic;
FWP_IP_VERSION ipVersion;
union {
IPSEC_V4_UDP_ENCAPSULATION0 *inboundUdpEncapsulation;
};
IPSEC_CRYPTO_MODULE_ID *rngCryptoModuleID;
} IPSEC_GETSPI1;
Members
inboundIpsecTraffic
An IPSEC_TRAFFIC1 structure that describes traffic characteristics of the inbound IPsec SA.
ipVersion
An 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. An IPSEC_CRYPTO_MODULE_ID is a GUID value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | ipsectypes.h |