Lines Matching defs:f_pos
1225 int f_pos;
1227 /* If possible use cached f_pos (in f->cached_pos),
1232 f_pos = f->cached_pos;
1239 f_pos = chain->idxmap[i];
1241 f_pos = ipfw_find_rule(chain, i, 0);
1245 f->cached_pos = f_pos;
1249 return (f_pos);
1259 int f_pos;
1265 f_pos = chain->idxmap[num];
1267 return (f_pos);
1362 int f_pos = 0; /* index of current rule in the array */
1756 f_pos = (args->rule.chain_id == chain->id) ?
1761 f_pos = 0;
1770 * f_pos (outer loop) points to the current rule.
1779 * We can restart the inner loop by setting l>0 and f_pos, f, cmd
1782 for (; f_pos < chain->n_rules; f_pos++) {
1788 f = chain->map[f_pos];
2720 f_pos = dyn_info.f_pos;
2750 set_match(args, f_pos, chain);
2770 set_match(args, f_pos, chain);
2781 f_pos = JUMP(chain, f, cmd->arg1, tablearg, 0);
2785 * f_pos, f, l and cmd.
2788 for (; f_pos < chain->n_rules - 1 &&
2790 (1 << chain->map[f_pos]->set));
2791 f_pos++)
2794 f = chain->map[f_pos];
2860 * The `call' action may use cached f_pos
2870 f_pos = JUMP(chain, f, cmd->arg1,
2875 f_pos = ipfw_find_rule(chain, jmpto, 0);
2881 * f_pos, f, l and cmd.
2884 for (; f_pos < chain->n_rules - 1 &&
2886 (1 << chain->map[f_pos]->set)); f_pos++)
2889 f = chain->map[f_pos];
3010 set_match(args, f_pos, chain);
3076 set_match(args, f_pos, chain);
3129 set_match(args, f_pos, chain);
3186 struct ip_fw *rule = chain->map[f_pos];