Share via


IPSEC_GETSPI0 (Compact 2013)

3/26/2014

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

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. IPSEC_CRYPTO_MODULE_ID is a GUID value.

Requirements

Header

fwpmu.h

See Also

Reference

WFP IPsec Structures

Other Resources

Windows Filtering Platform