Lines Matching refs:rule
61 @discussion The event code indicating a rule has been added.
67 @discussion The event code indicating a rule has been removed.
73 @discussion The event code indicating the rule set has been flushed.
125 /* identify this rule. */
142 u_short fu_skipto_rule; /* SKIPTO command rule number */
159 /* identify this rule. */
176 u_short fu_skipto_rule; /* SKIPTO command rule number */
192 /* identify this rule. */
209 u_short fu_skipto_rule; /* SKIPTO command rule number */
222 #define IPV6_FW_GETNSRCP(rule) ((rule)->fw_nports & 0x0f)
223 #define IPV6_FW_SETNSRCP(rule, n) do { \
224 (rule)->fw_nports &= ~0x0f; \
225 (rule)->fw_nports |= (n); \
227 #define IPV6_FW_GETNDSTP(rule) ((rule)->fw_nports >> 4)
228 #define IPV6_FW_SETNDSTP(rule, n) do { \
229 (rule)->fw_nports &= ~0xf0; \
230 (rule)->fw_nports |= (n) << 4;\
239 struct ip6_fw *rule;
251 #define IPV6_FW_F_DENY 0x0000 /* This is a deny rule */
253 #define IPV6_FW_F_ACCEPT 0x0020 /* This is an accept rule */
254 #define IPV6_FW_F_COUNT 0x0030 /* This is a count rule */
255 #define IPV6_FW_F_DIVERT 0x0040 /* This is a divert rule */
256 #define IPV6_FW_F_TEE 0x0050 /* This is a tee rule */
257 #define IPV6_FW_F_SKIPTO 0x0060 /* This is a skipto rule */
259 #define IPV6_FW_F_PRN 0x0080 /* Print if this rule matches */