次の方法で共有


2.2.52 FW_CS_RULE_ACTION

This enumeration identifies the possible actions a connection security rule (section 2.2.55) can have.

 typedef  enum _tag_FW_CS_RULE_ACTION
 {
   FW_CS_RULE_ACTION_INVALID = 0,
   FW_CS_RULE_ACTION_SECURE_SERVER = 1,
   FW_CS_RULE_ACTION_BOUNDARY = 2,
   FW_CS_RULE_ACTION_SECURE = 3,
   FW_CS_RULE_ACTION_DO_NOT_SECURE = 4,
   FW_CS_RULE_ACTION_MAX = 5
 } FW_CS_RULE_ACTION;

FW_CS_RULE_ACTION_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_CS_RULE_ACTION_SECURE_SERVER:  This action requires inbound traffic to be IPsec traffic and attempts to secure outbound traffic with IPsec. This symbolic constant has a value of 1.

FW_CS_RULE_ACTION_BOUNDARY:  This action attempts to secure inbound and outbound traffic with IPsec. If the action fails to secure the traffic, the traffic still flows on the clear. This symbolic constant has a value of 2.

FW_CS_RULE_ACTION_SECURE:  This action requires inbound and outbound traffic to be secured by IPsec. This symbolic constant has a value of 3.

FW_CS_RULE_ACTION_DO_NOT_SECURE:  This action exempts the traffic from being secured by IPsec. This symbolic constant has a value of 4.

FW_CS_RULE_ACTION_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.