Home
last modified time | relevance | path

Searched refs:IPFW_DEFAULT_RULE (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c260 for (i = 0; i <= IPFW_DEFAULT_RULE; i++) { in update_skipto_cache()
263 if (i != rulenum || i == IPFW_DEFAULT_RULE) in update_skipto_cache()
296 idxmap = malloc((IPFW_DEFAULT_RULE + 1) * sizeof(uint32_t), in ipfw_init_skipto_cache()
298 idxmap_back = malloc((IPFW_DEFAULT_RULE + 1) * sizeof(uint32_t), in ipfw_init_skipto_cache()
535 insert_before = rulenum ? rulenum + 1 : IPFW_DEFAULT_RULE; in ipfw_commit_rules()
546 if (rulenum < IPFW_DEFAULT_RULE - V_autoinc_step) in ipfw_commit_rules()
581 rule->rulenum = IPFW_DEFAULT_RULE; in ipfw_add_protected_rule()
646 if (rule->rulenum == IPFW_DEFAULT_RULE && in ipfw_match_range()
798 if (rt->end_rule >= IPFW_DEFAULT_RULE) in delete_range()
799 rt->end_rule = IPFW_DEFAULT_RULE - 1; in delete_range()
[all …]
H A Dip_fw2.c189 uint32_t dummy_def = IPFW_DEFAULT_RULE;
1252 if (i >= IPFW_DEFAULT_RULE) in jump_lookup_pos()
1253 i = IPFW_DEFAULT_RULE - 1; in jump_lookup_pos()
/freebsd/sys/netinet/
H A Dip_fw.h37 #define IPFW_DEFAULT_RULE 65535 macro
/freebsd/sbin/ipfw/
H A Dipfw2.c2383 #if IPFW_DEFAULT_RULE > 65535
2688 (cmd == 2 && rt.start_rule == IPFW_DEFAULT_RULE) ) in ipfw_sets_handler()
3074 fo->last = IPFW_DEFAULT_RULE; in ipfw_show_config()
4342 arg_or_targ_relaxed(av[0], *(av - 1), IPFW_DEFAULT_RULE); in compile_rule()
4370 arg_or_targ_relaxed(av[0], *(av - 1), IPFW_DEFAULT_RULE); in compile_rule()