Lines Matching defs:f_pos
1239 int f_pos;
1241 /* If possible use cached f_pos (in f->cached_pos),
1246 f_pos = f->cached_pos;
1253 f_pos = chain->idxmap[i];
1255 f_pos = ipfw_find_rule(chain, i, 0);
1259 f->cached_pos = f_pos;
1263 return (f_pos);
1273 int f_pos;
1279 f_pos = chain->idxmap[num];
1281 return (f_pos);
1361 int f_pos = 0; /* index of current rule in the array */
1798 f_pos = (args->rule.chain_id == chain->id) ?
1803 f_pos = 0;
1821 * f_pos (outer loop) points to the current rule.
1830 * We can restart the inner loop by setting l>0 and f_pos, f, cmd
1833 for (; f_pos < chain->n_rules; f_pos++) {
1839 f = chain->map[f_pos];
2792 f_pos = dyn_info.f_pos;
2822 set_match(args, f_pos, chain);
2842 set_match(args, f_pos, chain);
2853 f_pos = JUMP(chain, f, cmd->arg1, tablearg, 0);
2857 * f_pos, f, l and cmd.
2860 for (; f_pos < chain->n_rules - 1 &&
2862 (1 << chain->map[f_pos]->set));
2863 f_pos++)
2866 f = chain->map[f_pos];
2932 * The `call' action may use cached f_pos
2942 f_pos = JUMP(chain, f, cmd->arg1,
2947 f_pos = ipfw_find_rule(chain, jmpto, 0);
2953 * f_pos, f, l and cmd.
2956 for (; f_pos < chain->n_rules - 1 &&
2958 (1 << chain->map[f_pos]->set)); f_pos++)
2961 f = chain->map[f_pos];
3082 set_match(args, f_pos, chain);
3148 set_match(args, f_pos, chain);
3201 set_match(args, f_pos, chain);
3258 struct ip_fw *rule = chain->map[f_pos];