Searched refs:rule_nr_end (Results 1 – 2 of 2) sorted by relevance
/external/iptables/iptables/ |
D | xtables-eb.c | 115 int rule_nr_end, in delete_entry() argument 127 } while (rule_nr < rule_nr_end); in delete_entry() 382 static int parse_rule_range(const char *argv, int *rule_nr, int *rule_nr_end) in parse_rule_range() argument 389 *rule_nr_end = -1; /* Until the last rule */ in parse_rule_range() 391 *rule_nr_end = strtol(colon + 1, &buffer, 10); in parse_rule_range() 392 if (*buffer != '\0' || *rule_nr_end == 0) in parse_rule_range() 404 *rule_nr_end = *rule_nr; in parse_rule_range() 411 static int parse_change_counters_rule(int argc, char **argv, int *rule_nr, int *rule_nr_end, struct… in parse_change_counters_rule() argument 423 if (parse_rule_range(argv[optind], rule_nr, rule_nr_end)) in parse_change_counters_rule() 729 int rule_nr_end = 0; in do_commandeb() local [all …]
|
D | xtables-eb-translate.c | 121 static int parse_rule_range(const char *argv, int *rule_nr, int *rule_nr_end) in parse_rule_range() argument 128 *rule_nr_end = -1; /* Until the last rule */ in parse_rule_range() 130 *rule_nr_end = strtol(colon + 1, &buffer, 10); in parse_rule_range() 131 if (*buffer != '\0' || *rule_nr_end == 0) in parse_rule_range() 143 *rule_nr_end = *rule_nr; in parse_rule_range() 198 int rule_nr_end = 0; in do_commandeb_xlate() local 264 if (parse_rule_range(argv[optind], &rule_nr, &rule_nr_end)) in do_commandeb_xlate()
|