Searched refs:bcnt (Results 1 – 10 of 10) sorted by relevance
/external/iptables/ |
D | iptables-restore.c | 76 …f(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2); in parse_counters() 300 char *bcnt = NULL; in iptables_restore_main() local 324 bcnt = strtok(NULL, "]"); in iptables_restore_main() 325 if (!bcnt) in iptables_restore_main() 341 if (counters && pcnt && bcnt) { in iptables_restore_main() 344 add_argv((char *) bcnt); in iptables_restore_main()
|
D | ip6tables-restore.c | 79 …f(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2); in parse_counters() 297 char *bcnt = NULL; in main() local 321 bcnt = strtok(NULL, "]"); in main() 322 if (!bcnt) in main() 338 if (counters && pcnt && bcnt) { in main() 341 add_argv((char *) bcnt); in main()
|
D | iptables-xml.c | 77 (unsigned long long *) &ctr->bcnt) == 2); in parse_counters() 257 xmlAttrI("byte-count", (unsigned long long) ctr->bcnt); in openChain() 559 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[]) in do_rule() argument 581 if (bcnt) in do_rule() 582 xmlAttrS("byte-count", bcnt); in do_rule() 726 char *bcnt = NULL; in iptables_xml_main() local 751 bcnt = strtok(NULL, "]"); in iptables_xml_main() 752 if (!bcnt) in iptables_xml_main() 839 do_rule(pcnt, bcnt, newargc, newargv, newargvattr); in iptables_xml_main()
|
D | ip6tables-save.c | 152 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule() 280 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
D | iptables-save.c | 168 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule() 291 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
D | ip6tables.c | 1273 print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 1357 print_num(fw->counters.bcnt, format); in print_firewall() 1867 const char *pcnt = NULL, *bcnt = NULL; in do_command6() local 2184 bcnt = argv[optind++]; in do_command6() 2195 if (sscanf(bcnt, "%llu", (unsigned long long *)&fw.counters.bcnt) != 1) in do_command6()
|
D | iptables.c | 1339 print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 1423 print_num(fw->counters.bcnt, format); in print_firewall() 1951 const char *pcnt = NULL, *bcnt = NULL; in do_command() local 2279 bcnt = argv[optind++]; in do_command() 2290 if (sscanf(bcnt, "%llu", (unsigned long long *)&fw.counters.bcnt) != 1) in do_command()
|
/external/iptables/libiptc/ |
D | libiptc.c | 1967 answer->bcnt = a->bcnt - b->bcnt; in subtract_counters()
|
D | libip6tc.c | 181 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|
D | libip4tc.c | 147 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|