/external/iptables/iptables/ |
D | ip6tables-restore.c | 85 unsigned long long pcnt, bcnt; in parse_counters() local 88 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); in parse_counters() 90 ctr->bcnt = bcnt; in parse_counters() 401 char *bcnt = NULL; in ip6tables_restore_main() local 421 bcnt = strtok(NULL, "]"); in ip6tables_restore_main() 422 if (!bcnt) in ip6tables_restore_main() 438 if (counters && pcnt && bcnt) { in ip6tables_restore_main() 441 add_argv((char *) bcnt); in ip6tables_restore_main()
|
D | iptables-restore.c | 84 unsigned long long pcnt, bcnt; in parse_counters() local 87 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); in parse_counters() 89 ctr->bcnt = bcnt; in parse_counters() 401 char *bcnt = NULL; in iptables_restore_main() local 421 bcnt = strtok(NULL, "]"); in iptables_restore_main() 422 if (!bcnt) in iptables_restore_main() 438 if (counters && pcnt && bcnt) { in iptables_restore_main() 441 add_argv((char *) bcnt); in iptables_restore_main()
|
D | iptables-xml.c | 61 __u64 *pcnt, *bcnt; in parse_counters() local 65 bcnt = &ctr->bcnt; in parse_counters() 69 (unsigned long long *)bcnt) == 2); in parse_counters() 248 xmlAttrI("byte-count", (unsigned long long) ctr->bcnt); in openChain() 576 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[]) in do_rule() argument 598 if (bcnt) in do_rule() 599 xmlAttrS("byte-count", bcnt); in do_rule() 736 char *bcnt = NULL; in iptables_xml_main() local 762 bcnt = strtok(NULL, "]"); in iptables_xml_main() 763 if (!bcnt) in iptables_xml_main() [all …]
|
D | ip6tables.c | 445 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 529 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 1053 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 1093 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 1155 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1304 const char *pcnt = NULL, *bcnt = NULL; in do_command6() local 1632 bcnt = strchr(pcnt + 1, ','); in do_command6() 1633 if (bcnt) in do_command6() 1634 bcnt++; in do_command6() 1635 if (!bcnt && optind < argc && argv[optind][0] != '-' in do_command6() [all …]
|
D | iptables.c | 430 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 516 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 1053 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 1084 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 1146 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1300 const char *pcnt = NULL, *bcnt = NULL; in do_command4() local 1626 bcnt = strchr(pcnt + 1, ','); in do_command4() 1627 if (bcnt) in do_command4() 1628 bcnt++; in do_command4() 1629 if (!bcnt && optind < argc && argv[optind][0] != '-' in do_command4() [all …]
|
D | iptables-save.c | 93 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
D | ip6tables-save.c | 95 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
/external/iproute2/include/linux/netfilter/ |
D | x_tables.h | 106 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 107 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 110 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/external/iptables/include/linux/netfilter/ |
D | x_tables.h | 106 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 107 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 110 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | x_tables.h | 106 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 107 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 110 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 37 uint64_t bcnt; member
|
/external/iptables/libiptc/ |
D | libip6tc.c | 179 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|
D | libiptc.c | 2470 answer->bcnt = a->bcnt - b->bcnt; in subtract_counters()
|
D | libip4tc.c | 145 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|