2.2.32 FW_RULE_ORIGIN_TYPE

This enumeration represents where the policy object is stored and from where it originates.

 typedef  enum _tag_FW_RULE_ORIGIN_TYPE
 {
   FW_RULE_ORIGIN_INVALID = 0,
   FW_RULE_ORIGIN_LOCAL = 1,
   FW_RULE_ORIGIN_GP = 2,
   FW_RULE_ORIGIN_DYNAMIC = 3,
   FW_RULE_ORIGIN_AUTOGEN = 4,
   FW_RULE_ORIGIN_HARDCODED = 5,
   FW_RULE_ORIGIN_MAX = 6
 } FW_RULE_ORIGIN_TYPE;

FW_RULE_ORIGIN_INVALID:  On enumeration, this value is invalid, and MUST NOT be used by the server. It is defined for simplicity in writing IDL definitions and code. However, the server ignores the fields of this data type on input, and hence it is valid for filling rules. This symbolic constant has a value of 0.

FW_RULE_ORIGIN_LOCAL:  Specifies that the policy object originates from the local store. This symbolic constant has a value of 1.

FW_RULE_ORIGIN_GP:  Specifies that the policy object originates from the GP store. This symbolic constant has a value of 2.

FW_RULE_ORIGIN_DYNAMIC:  Specifies that the policy object originates from the dynamic store. This symbolic constant has a value of 3.

FW_RULE_ORIGIN_AUTOGEN:  Not used. This symbolic constant has a value of 4.

FW_RULE_ORIGIN_HARDCODED:  Specifies that the policy object originates from the firewall and advanced security component hard-coded values and is used due to lack of user settings. These values are not configurable and are not addressed in this protocol specification. Specific implementations of firewall and advanced security components can choose what hard-coded values to use when no other user settings are available. The only policy objects in this protocol specification that can have this FW_RULE_ORIGIN_HARDCODED value assigned are authentication sets and cryptographic sets, which are defined in sections 2.2.65 and 2.2.74, respectively.<5> This symbolic constant has a value of 5.

FW_RULE_ORIGIN_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 6.