Lines Matching refs:rulenum
751 unsigned int rulenum; in parse_rulenumber() local
753 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
757 return rulenum; in parse_rulenumber()
804 int rulenum, int verbose, int numeric, int expanded, in list_entries() argument
824 return nft_rule_list(h, chain, table, rulenum, format); in list_entries()
867 int rulenum, in append_entry() argument
886 rulenum, verbose); in append_entry()
898 unsigned int rulenum, in replace_entry() argument
906 return nft_rule_replace(h, chain, table, cs, rulenum, verbose); in replace_entry()
944 unsigned int rulenum = 0, options = 0, command = 0; in do_commandarp() local
988 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp()
998 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp()
1010 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp()
1011 else rulenum = 1; in do_commandarp()
1422 ret = nft_rule_delete_num(h, chain, *table, rulenum - 1, verbose); in do_commandarp()
1425 ret = replace_entry(chain, *table, &cs, rulenum - 1, in do_commandarp()
1429 ret = append_entry(h, chain, *table, &cs, rulenum - 1, in do_commandarp()
1435 rulenum, in do_commandarp()
1448 ret = list_entries(h, chain, *table, rulenum, in do_commandarp()