Home
last modified time | relevance | path

Searched refs:rulenum (Results 1 – 14 of 14) sorted by relevance

/external/iproute2/include/libiptc/
Dlibiptc.h67 unsigned int rulenum,
73 unsigned int rulenum,
97 unsigned int rulenum,
140 unsigned int rulenum,
145 unsigned int rulenum,
150 unsigned int rulenum,
Dlibip6tc.h63 unsigned int rulenum,
69 unsigned int rulenum,
92 unsigned int rulenum,
134 unsigned int rulenum,
139 unsigned int rulenum,
144 unsigned int rulenum,
/external/iptables/include/libiptc/
Dlibiptc.h67 unsigned int rulenum,
73 unsigned int rulenum,
97 unsigned int rulenum,
140 unsigned int rulenum,
145 unsigned int rulenum,
150 unsigned int rulenum,
Dlibip6tc.h63 unsigned int rulenum,
69 unsigned int rulenum,
92 unsigned int rulenum,
134 unsigned int rulenum,
139 unsigned int rulenum,
144 unsigned int rulenum,
/external/iptables/iptables/
Dxtables.c357 unsigned int rulenum; in parse_rulenumber() local
359 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
363 return rulenum; in parse_rulenumber()
412 int rulenum, int family, in add_entry() argument
434 cs, rulenum, in add_entry()
454 cs, rulenum, in add_entry()
467 unsigned int rulenum, in replace_entry() argument
486 return nft_rule_replace(h, chain, table, cs, rulenum, verbose); in replace_entry()
572 int rulenum, int verbose, int numeric, int expanded, in list_entries() argument
592 return nft_rule_list(h, chain, table, rulenum, format); in list_entries()
[all …]
Dnft.h85 …struct nft_handle *h, const char *chain, const char *table, void *data, int rulenum, bool verbose);
88 int nft_rule_delete_num(struct nft_handle *h, const char *chain, const char *table, int rulenum, bo…
89 …struct nft_handle *h, const char *chain, const char *table, void *data, int rulenum, bool verbose);
90 int nft_rule_list(struct nft_handle *h, const char *chain, const char *table, int rulenum, unsigned…
91 int nft_rule_list_save(struct nft_handle *h, const char *chain, const char *table, int rulenum, int…
94 int nft_rule_zero_counters(struct nft_handle *h, const char *chain, const char *table, int rulenum);
181 int rulenum, bool verbose);
Diptables.c373 unsigned int rulenum; in parse_rulenumber() local
375 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
379 return rulenum; in parse_rulenumber()
694 unsigned int rulenum, in replace_entry() argument
707 return iptc_replace_entry(chain, fw, rulenum, handle); in replace_entry()
713 unsigned int rulenum, in insert_entry() argument
734 ret &= iptc_insert_entry(chain, fw, rulenum, handle); in insert_entry()
913 list_entries(const xt_chainlabel chain, int rulenum, int verbose, int numeric, in list_entries() argument
946 if (!rulenum) in list_entries()
953 if (!rulenum || num == rulenum) in list_entries()
[all …]
Dip6tables.c388 unsigned int rulenum; in parse_rulenumber() local
390 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
394 return rulenum; in parse_rulenumber()
710 unsigned int rulenum, in replace_entry() argument
723 return ip6tc_replace_entry(chain, fw, rulenum, handle); in replace_entry()
729 unsigned int rulenum, in insert_entry() argument
750 ret &= ip6tc_insert_entry(chain, fw, rulenum, handle); in insert_entry()
929 list_entries(const xt_chainlabel chain, int rulenum, int verbose, int numeric, in list_entries() argument
962 if (!rulenum) in list_entries()
969 if (!rulenum || num == rulenum) in list_entries()
[all …]
Dxtables-arp.c751 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
[all …]
Dnft.c1786 const char *chain, const char *table, void *data, int rulenum) in nft_rule_find() argument
1810 if (rulenum >= 0) { in nft_rule_find()
1812 if (rule_ctr == rulenum) { in nft_rule_find()
1900 const char *table, void *data, int rulenum, bool verbose) in nft_rule_insert() argument
1912 if (rulenum > 0) { in nft_rule_insert()
1917 r = nft_rule_find(h, list, chain, table, data, rulenum); in nft_rule_insert()
1923 rulenum - 1); in nft_rule_insert()
1947 const char *table, int rulenum, bool verbose) in nft_rule_delete_num() argument
1959 r = nft_rule_find(h, list, chain, table, NULL, rulenum); in nft_rule_delete_num()
1963 DEBUGP("deleting rule by number %d\n", rulenum); in nft_rule_delete_num()
[all …]
Dnft-shared.h224 unsigned int rulenum; member
/external/iptables/libiptc/
Dlibiptc.c657 unsigned int rulenum) in iptcc_get_rule_num() argument
664 if (num == rulenum) in iptcc_get_rule_num()
672 unsigned int rulenum) in iptcc_get_rule_num_reverse() argument
679 if (num == rulenum) in iptcc_get_rule_num_reverse()
1749 unsigned int rulenum, in TC_INSERT_ENTRY() argument
1765 if (rulenum > c->num_rules) { in TC_INSERT_ENTRY()
1773 if (rulenum == c->num_rules) { in TC_INSERT_ENTRY()
1775 } else if (rulenum + 1 <= c->num_rules/2) { in TC_INSERT_ENTRY()
1776 r = iptcc_get_rule_num(c, rulenum + 1); in TC_INSERT_ENTRY()
1779 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum); in TC_INSERT_ENTRY()
[all …]
/external/iptables/extensions/
Dlibxt_TRACE.man7 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
/external/libpcap/
Dscanner.l371 rnr|rulenum return PF_RNR;