Lines Matching defs:rulenum
195 " %s -I chain [rulenum] rule-specification [options]\n"
196 " %s -R chain rulenum rule-specification [options]\n"
197 " %s -D chain rulenum [options]\n"
198 " %s -[LS] [chain [rulenum]] [options]\n"
214 " --delete -D chain rulenum\n"
215 " Delete rule rulenum (1 = first) from chain\n"
216 " --insert -I chain [rulenum]\n"
217 " Insert in chain as rulenum (default 1=first)\n"
218 " --replace -R chain rulenum\n"
219 " Replace rule rulenum (1 = first) in chain\n"
220 " --list -L [chain [rulenum]]\n"
222 " --list-rules -S [chain [rulenum]]\n"
225 " --zero -Z [chain [rulenum]]\n"
373 unsigned int rulenum;
375 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX))
379 return rulenum;
694 unsigned int rulenum,
707 return iptc_replace_entry(chain, fw, rulenum, handle);
713 unsigned int rulenum,
734 ret &= iptc_insert_entry(chain, fw, rulenum, handle);
913 list_entries(const xt_chainlabel chain, int rulenum, int verbose, int numeric,
946 if (!rulenum)
953 if (!rulenum || num == rulenum)
1166 list_rules(const xt_chainlabel chain, int rulenum, int counters,
1177 if (!rulenum) for (this = iptc_first_chain(handle);
1207 if (!rulenum || num == rulenum)
1343 unsigned int rulenum = 0, command = 0;
1397 rulenum = parse_rulenumber(argv[optind++]);
1407 rulenum = parse_rulenumber(argv[optind++]);
1419 rulenum = parse_rulenumber(argv[optind++]);
1420 else rulenum = 1;
1430 rulenum = parse_rulenumber(argv[optind++]);
1440 rulenum = parse_rulenumber(argv[optind++]);
1458 rulenum = parse_rulenumber(argv[optind++]);
1876 ret = iptc_delete_num_entry(chain, rulenum - 1, *handle);
1886 ret = replace_entry(chain, e, rulenum - 1,
1891 ret = insert_entry(chain, e, rulenum - 1,
1904 ret = iptc_zero_counter(chain, rulenum, *handle);
1910 rulenum,
1920 ret = iptc_zero_counter(chain, rulenum, *handle);
1926 rulenum,
1933 ret = iptc_zero_counter(chain, rulenum, *handle);