Lines Matching defs:rule
58 @discussion The event code indicating a rule has been added.
64 @discussion The event code indicating a rule has been removed.
70 @discussion The event code indicating the rule set has been flushed.
126 /* identify this rule. */
143 u_short fu_skipto_rule; /* SKIPTO command rule number */
153 #define IPV6_FW_GETNSRCP(rule) ((rule)->fw_nports & 0x0f)
154 #define IPV6_FW_SETNSRCP(rule, n) do { \
155 (rule)->fw_nports &= ~0x0f; \
156 (rule)->fw_nports |= (n); \
158 #define IPV6_FW_GETNDSTP(rule) ((rule)->fw_nports >> 4)
159 #define IPV6_FW_SETNDSTP(rule, n) do { \
160 (rule)->fw_nports &= ~0xf0; \
161 (rule)->fw_nports |= (n) << 4;\
170 struct ip6_fw *rule;
182 #define IPV6_FW_F_DENY 0x0000 /* This is a deny rule */
184 #define IPV6_FW_F_ACCEPT 0x0020 /* This is an accept rule */
185 #define IPV6_FW_F_COUNT 0x0030 /* This is a count rule */
186 #define IPV6_FW_F_DIVERT 0x0040 /* This is a divert rule */
187 #define IPV6_FW_F_TEE 0x0050 /* This is a tee rule */
188 #define IPV6_FW_F_SKIPTO 0x0060 /* This is a skipto rule */
190 #define IPV6_FW_F_PRN 0x0080 /* Print if this rule matches */