/external/iptables/iptables/ |
D | nft-cmd.c | 20 int rulenum, bool verbose) in nft_cmd_new() argument 33 cmd->rulenum = rulenum; in nft_cmd_new() 110 int rulenum, bool verbose) in nft_cmd_rule_insert() argument 115 rulenum, verbose); in nft_cmd_rule_insert() 121 if (cmd->rulenum > 0) in nft_cmd_rule_insert() 146 const char *table, int rulenum, bool verbose) in nft_cmd_rule_delete_num() argument 151 rulenum, verbose); in nft_cmd_rule_delete_num() 247 const char *table, int rulenum, unsigned int format) in nft_cmd_rule_list() argument 251 cmd = nft_cmd_new(h, NFT_COMPAT_RULE_LIST, table, chain, NULL, rulenum, in nft_cmd_rule_list() 264 const char *table, void *data, int rulenum, in nft_cmd_rule_replace() argument [all …]
|
D | nft-cmd.h | 16 int rulenum; member 32 int rulenum, bool verbose); 40 int rulenum, bool verbose); 45 const char *table, int rulenum, bool verbose); 57 const char *table, int rulenum, unsigned int format); 66 const char *table, void *data, int rulenum, 72 const char *table, int rulenum); 74 const char *table, int rulenum, int counters);
|
D | xtables.c | 266 int rulenum, int family, in add_entry() argument 288 cs, rulenum, in add_entry() 308 cs, rulenum, in add_entry() 321 unsigned int rulenum, in replace_entry() argument 340 return nft_cmd_rule_replace(h, chain, table, cs, rulenum, verbose); in replace_entry() 426 int rulenum, int verbose, int numeric, int expanded, in list_entries() argument 446 return nft_cmd_rule_list(h, chain, table, rulenum, format); in list_entries() 451 int rulenum, int counters) in list_rules() argument 456 return nft_cmd_rule_list_save(h, chain, table, rulenum, counters); in list_rules() 518 p->rulenum = parse_rulenumber(argv[optind++]); in do_parse() [all …]
|
D | xtables-arp.c | 324 int rulenum, int verbose, int numeric, int expanded, in list_entries() argument 344 return nft_cmd_rule_list(h, chain, table, rulenum, format); in list_entries() 352 int rulenum, in append_entry() argument 375 rulenum, verbose); in append_entry() 387 unsigned int rulenum, in replace_entry() argument 399 return nft_cmd_rule_replace(h, chain, table, cs, rulenum, verbose); in replace_entry() 472 unsigned int rulenum = 0, options = 0, command = 0; in do_commandarp() local 509 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp() 519 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp() 531 rulenum = parse_rulenumber(argv[optind++]); in do_commandarp() [all …]
|
D | ip6tables.c | 499 unsigned int rulenum, in replace_entry() argument 512 return ip6tc_replace_entry(chain, fw, rulenum, handle); in replace_entry() 518 unsigned int rulenum, in insert_entry() argument 539 ret &= ip6tc_insert_entry(chain, fw, rulenum, handle); in insert_entry() 718 list_entries(const xt_chainlabel chain, int rulenum, int verbose, int numeric, in list_entries() argument 751 if (!rulenum) in list_entries() 758 if (!rulenum || num == rulenum) in list_entries() 977 list_rules(const xt_chainlabel chain, int rulenum, int counters, in list_rules() argument 988 if (!rulenum) for (this = ip6tc_first_chain(handle); in list_rules() 1018 if (!rulenum || num == rulenum) in list_rules() [all …]
|
D | iptables.c | 490 unsigned int rulenum, in replace_entry() argument 503 return iptc_replace_entry(chain, fw, rulenum, handle); in replace_entry() 509 unsigned int rulenum, in insert_entry() argument 530 ret &= iptc_insert_entry(chain, fw, rulenum, handle); in insert_entry() 709 list_entries(const xt_chainlabel chain, int rulenum, int verbose, int numeric, in list_entries() argument 742 if (!rulenum) in list_entries() 749 if (!rulenum || num == rulenum) in list_entries() 973 list_rules(const xt_chainlabel chain, int rulenum, int counters, in list_rules() argument 984 if (!rulenum) for (this = iptc_first_chain(handle); in list_rules() 1014 if (!rulenum || num == rulenum) in list_rules() [all …]
|
D | nft.h | 175 …_handle *h, const char *chain, const char *table, struct nftnl_rule *r, int rulenum, bool verbose); 178 int nft_rule_delete_num(struct nft_handle *h, const char *chain, const char *table, int rulenum, bo… 179 …_handle *h, const char *chain, const char *table, struct nftnl_rule *r, int rulenum, bool verbose); 180 int nft_rule_list(struct nft_handle *h, const char *chain, const char *table, int rulenum, unsigned… 181 int nft_rule_list_save(struct nft_handle *h, const char *chain, const char *table, int rulenum, int… 184 int nft_rule_zero_counters(struct nft_handle *h, const char *chain, const char *table, int rulenum); 258 int rulenum, bool verbose);
|
D | nft.c | 2094 struct nftnl_rule *rule, int rulenum) in nft_rule_find() argument 2101 if (rulenum >= 0) in nft_rule_find() 2103 return nftnl_rule_lookup_byindex(c, rulenum); in nft_rule_find() 2208 const char *table, struct nftnl_rule *new_rule, int rulenum, in nft_rule_insert() argument 2224 if (rulenum > 0) { in nft_rule_insert() 2225 r = nft_rule_find(h, c, new_rule, rulenum); in nft_rule_insert() 2230 r = nft_rule_find(h, c, new_rule, rulenum - 1); in nft_rule_insert() 2255 const char *table, int rulenum, bool verbose) in nft_rule_delete_num() argument 2269 r = nft_rule_find(h, c, NULL, rulenum); in nft_rule_delete_num() 2271 DEBUGP("deleting rule by number %d\n", rulenum); in nft_rule_delete_num() [all …]
|
D | xshared.c | 774 unsigned int rulenum; in parse_rulenumber() local 776 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber() 780 return rulenum; in parse_rulenumber()
|
D | nft-shared.h | 205 unsigned int rulenum; member
|
D | xtables-eb-translate.c | 275 p.rulenum = rule_nr; in do_commandeb_xlate()
|
/external/iptables/include/libiptc/ |
D | libiptc.h | 67 unsigned int rulenum, 73 unsigned int rulenum, 97 unsigned int rulenum, 140 unsigned int rulenum, 145 unsigned int rulenum, 150 unsigned int rulenum,
|
D | libip6tc.h | 63 unsigned int rulenum, 69 unsigned int rulenum, 92 unsigned int rulenum, 134 unsigned int rulenum, 139 unsigned int rulenum, 144 unsigned int rulenum,
|
/external/iproute2/include/libiptc/ |
D | libip6tc.h | 63 unsigned int rulenum, 69 unsigned int rulenum, 92 unsigned int rulenum, 134 unsigned int rulenum, 139 unsigned int rulenum, 144 unsigned int rulenum,
|
D | libiptc.h | 67 unsigned int rulenum, 73 unsigned int rulenum, 97 unsigned int rulenum, 140 unsigned int rulenum, 145 unsigned int rulenum, 150 unsigned int rulenum,
|
/external/iptables/libiptc/ |
D | libiptc.c | 642 unsigned int rulenum) in iptcc_get_rule_num() argument 649 if (num == rulenum) in iptcc_get_rule_num() 657 unsigned int rulenum) in iptcc_get_rule_num_reverse() argument 664 if (num == rulenum) in iptcc_get_rule_num_reverse() 1737 unsigned int rulenum, in TC_INSERT_ENTRY() argument 1753 if (rulenum > c->num_rules) { in TC_INSERT_ENTRY() 1761 if (rulenum == c->num_rules) { in TC_INSERT_ENTRY() 1763 } else if (rulenum + 1 <= c->num_rules/2) { in TC_INSERT_ENTRY() 1764 r = iptcc_get_rule_num(c, rulenum + 1); in TC_INSERT_ENTRY() 1767 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum); in TC_INSERT_ENTRY() [all …]
|
/external/iptables/extensions/ |
D | libxt_TRACE.man | 10 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
|
/external/libpcap/ |
D | scanner.l | 365 rnr|rulenum return PF_RNR;
|