次の方法で共有


2.2.69 FW_CRYPTO_PROTOCOL_TYPE

This enumeration is used to identify the different combinations of supported IPsec enforcement protocols.

 typedef  enum _tag_FW_CRYPTO_PROTOCOL_TYPE
 {
   FW_CRYPTO_PROTOCOL_INVALID = 0,
   FW_CRYPTO_PROTOCOL_AH = 1,
   FW_CRYPTO_PROTOCOL_ESP = 2,
   FW_CRYPTO_PROTOCOL_BOTH = 3,
   FW_CRYPTO_PROTOCOL_AUTH_NO_ENCAP = 4,
   FW_CRYPTO_PROTOCOL_MAX = 5,
   FW_CRYPTO_PROTOCOL_MAX_2_1 = (FW_CRYPTO_PROTOCOL_BOTH + 1)
 } FW_CRYPTO_PROTOCOL_TYPE;

FW_CRYPTO_PROTOCOL_INVALID:  This value MUST NOT be used. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0.

FW_CRYPTO_PROTOCOL_AH:  Uses the authentication header (AH) to enforce IPsec. This symbolic constant has a value of 1.

FW_CRYPTO_PROTOCOL_ESP:  Uses the ESP protocol header. This symbolic constant has a value of 2.

FW_CRYPTO_PROTOCOL_BOTH:  Uses both the AH and ESP protocol headers. This symbolic constant has a value of 3.

FW_CRYPTO_PROTOCOL_AUTH_NO_ENCAP:  Uses no encapsulation. This sends the first packet twice: once by using an ESP header and again without any header; subsequent packets have no additional headers. This symbolic constant has a value of 4.

FW_CRYPTO_PROTOCOL_MAX:  This value and values that exceed this value are not valid and MUST NOT be used. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 5.

FW_CRYPTO_PROTOCOL_MAX_2_1:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x0201 and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 4.