Lines Matching defs:f_pos
793 int f_pos;
795 /* If possible use cached f_pos (in f->next_rule),
800 f_pos = (uintptr_t)f->next_rule;
806 f_pos = ipfw_find_rule(chain, i, 0);
809 f->next_rule = (void *)(uintptr_t)f_pos;
814 return (f_pos);
907 int f_pos = 0; /* index of current rule in the array */
1254 f_pos = (args->rule.chain_id == chain->id) ?
1259 f_pos = 0;
1268 * f_pos (outer loop) points to the current rule.
1277 * We can restart the inner loop by setting l>0 and f_pos, f, cmd
1280 for (; f_pos < chain->n_rules; f_pos++) {
1286 f = chain->map[f_pos];
2097 /* XXX we would like to have f_pos
2103 f_pos = ipfw_find_rule(chain,
2130 set_match(args, f_pos, chain);
2150 set_match(args, f_pos, chain);
2161 f_pos = jump_fast(chain, f, cmd->arg1, tablearg, 0);
2165 * f_pos, f, l and cmd.
2168 for (; f_pos < chain->n_rules - 1 &&
2170 (1 << chain->map[f_pos]->set));
2171 f_pos++)
2174 f = chain->map[f_pos];
2240 * The `call' action may use cached f_pos
2250 f_pos = jump_fast(chain, f, cmd->arg1,
2255 f_pos = ipfw_find_rule(chain, jmpto, 0);
2261 * f_pos, f, l and cmd.
2264 for (; f_pos < chain->n_rules - 1 &&
2266 (1 << chain->map[f_pos]->set)); f_pos++)
2269 f = chain->map[f_pos];
2357 set_match(args, f_pos, chain);
2417 set_match(args, f_pos, chain);
2467 set_match(args, f_pos, chain);
2502 struct ip_fw *rule = chain->map[f_pos];