Home
last modified time | relevance | path

Searched refs:bcnt (Results 1 – 10 of 10) sorted by relevance

/external/iptables/
Diptables-restore.c76 …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()
Dip6tables-restore.c79 …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()
Diptables-xml.c77 (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()
Dip6tables-save.c152 …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()
Diptables-save.c168 …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()
Dip6tables.c1273 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()
Diptables.c1339 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/
Dlibiptc.c1967 answer->bcnt = a->bcnt - b->bcnt; in subtract_counters()
Dlibip6tc.c181 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
Dlibip4tc.c147 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()