Lines Matching refs:ip_fw
64 #include <netinet/ip_fw.h>
122 static struct ip_fw *layer3_chain;
147 &fw_debug, 0, "Enable printing of debug ip_fw statements");
560 ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,
803 remove_dyn_rule(struct ip_fw *rule, ipfw_dyn_rule *keep_me)
1045 add_dyn_rule(struct ipfw_flow_id *id, u_int8_t dyn_type, struct ip_fw *rule)
1103 lookup_dyn_parent(struct ipfw_flow_id *pkt, struct ip_fw *rule)
1136 install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
1219 add_dyn_rule(&args->f_id, O_LIMIT, (struct ip_fw *)parent);
1350 * Given an ip_fw *, lookup_next_rule will return a pointer
1363 static struct ip_fw *
1364 lookup_next_rule(struct ip_fw *me)
1366 struct ip_fw *rule = NULL;
1454 struct ip_fw *f = NULL; /* matching rule */
2211 struct ip_fw *rule;
2225 struct ip_fw *rule;
2250 add_rule(struct ip_fw **head, struct ip_fw *input_rule)
2252 struct ip_fw *rule, *f, *prev;
2334 static struct ip_fw *
2335 delete_rule(struct ip_fw **head, struct ip_fw *prev, struct ip_fw *rule)
2337 struct ip_fw *n;
2359 print_chain(struct ip_fw **chain)
2361 struct ip_fw *rule = *chain;
2418 struct ip_fw *inactive_rule = (struct ip_fw *)param;
2419 struct ip_fw *rule, *prev;
2425 struct ip_fw *n = rule;
2449 mark_inactive(struct ip_fw **prev, struct ip_fw **rule)
2471 free_chain(struct ip_fw **chain, int kill_default)
2473 struct ip_fw *prev, *rule;
2510 del_entry(struct ip_fw **chain, u_int32_t arg)
2512 struct ip_fw *prev = NULL, *rule = *chain;
2612 clear_counters(struct ip_fw *rule, int log_only)
2633 struct ip_fw *rule;
2674 check_ipfw_struct(struct ip_fw *rule, int size)
2888 struct ip_fw *bp , *buf, *rule;
2957 bp = (struct ip_fw *)((char *)bp + i);
3007 bp = (struct ip_fw *)((char *)bp + j);
3040 bp = (struct ip_fw *)((char *)bp + j);
3121 sizeof(struct ip_fw) );
3181 struct ip_fw temp_rule;
3185 bzero(&temp_rule, sizeof(struct ip_fw));
3190 error = sooptcopyin(sopt, &temp_rule, sizeof(struct ip_fw),
3191 sizeof(struct ip_fw) );
3237 struct ip_fw temp_rule;
3239 bzero(&temp_rule, sizeof(struct ip_fw));
3246 error = sooptcopyin(sopt, &temp_rule, sizeof(struct ip_fw),
3247 sizeof(struct ip_fw) );
3293 struct ip_fw *ip_fw_default_rule;
3339 struct ip_fw default_rule;