次の方法で共有


2.2.50 FW_IPSEC_PHASE

This enumeration is used to identify the IPsec phase of negotiations.

 typedef  enum _tag_FW_IPSEC_PHASE
 {
   FW_IPSEC_PHASE_INVALID = 0,
   FW_IPSEC_PHASE_1 = 1,
   FW_IPSEC_PHASE_2 = 2,
   FW_IPSEC_PHASE_MAX = 3
 } FW_IPSEC_PHASE;

FW_IPSEC_PHASE_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_IPSEC_PHASE_1:  This value represents the IPsec first phase of negotiations, also called main mode. This symbolic constant has a value of 1.

FW_IPSEC_PHASE_2:  This value represents the IPsec second phase of negotiations. A phase 2 authentication is the second authentication and can mean extended mode or quick mode. On auth sets, phase 2 authentication refers to extended mode (specified in [MS-AIPS] sections 3.6 and 3.7); and on crypto sets, phase 2 refers to quick mode (specified in [MS-AIPS] sections 3.4 and 3.5). This symbolic constant has a value of 2.

FW_IPSEC_PHASE_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 3.