Searched refs:counters (Results 26 - 50 of 73) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter_ipv4/
H A Dip_tables.h87 /* Packet and byte counters. */
88 struct xt_counters counters; member in struct:ipt_entry
184 /* Number of counters (must be equal to current number of entries). */
186 /* The old entries' counters. */
187 struct xt_counters *counters; member in struct:ipt_replace
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/include/libiptc/
H A Dlibiptc.h108 /* Zeroes the counters in a chain. */
128 struct ipt_counters *counters,
136 /* read packet and byte counters for a specific rule */
141 /* zero packet and byte counters for a specific rule */
146 /* set packet and byte counters for a specific rule */
149 struct ipt_counters *counters,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/iptables/
H A Dip6tables-restore.c28 static int binary = 0, counters = 0, verbose = 0, noflush = 0; variable
33 {.name = "counters", .has_arg = false, .val = 'c'},
48 " [ --counters ]\n"
146 counters = 1;
289 if (counters) {
295 "invalid policy counters "
333 /* we have counters in our input */
363 if (counters && pcnt && bcnt) {
364 add_argv("--set-counters");
H A Diptables-restore.c25 static int binary = 0, counters = 0, verbose = 0, noflush = 0; variable
30 {.name = "counters", .has_arg = false, .val = 'c'},
48 " [ --counters ]\n"
148 counters = 1;
293 if (counters) {
299 "invalid policy counters "
337 /* we have counters in our input */
367 if (counters && pcnt && bcnt) {
368 add_argv("--set-counters");
H A Dip6tables.c125 {.name = "set-counters", .has_arg = 1, .val = 'c'},
242 " Zero counters in chain or all chains\n"
279 " --set-counters PKTS BYTES set the counter during insert/append\n"
474 struct ip6t_counters counters; local
475 const char *pol = ip6tc_get_policy(chain, &counters, handle);
481 print_num(counters.pcnt, (format|FMT_NOTABLE));
483 print_num(counters.bcnt, (format|FMT_NOTABLE));
566 print_num(fw->counters.pcnt, format);
567 print_num(fw->counters.bcnt, format);
1083 struct ip6tc_handle *h, const char *chain, int counters)
1082 print_rule6(const struct ip6t_entry *e, struct ip6tc_handle *h, const char *chain, int counters) argument
1172 list_rules(const ip6t_chainlabel chain, int rulenum, int counters, struct ip6tc_handle *handle) argument
[all...]
H A Diptables.c124 {.name = "set-counters", .has_arg = 1, .val = 'c'},
255 " Zero counters in chain or all chains\n"
292 " --set-counters PKTS BYTES set the counter during insert/append\n"
479 struct ipt_counters counters; local
480 const char *pol = iptc_get_policy(chain, &counters, handle);
486 print_num(counters.pcnt, (format|FMT_NOTABLE));
488 print_num(counters.bcnt, (format|FMT_NOTABLE));
573 print_num(fw->counters.pcnt, format);
574 print_num(fw->counters.bcnt, format);
1103 struct iptc_handle *h, const char *chain, int counters)
1102 print_rule4(const struct ipt_entry *e, struct iptc_handle *h, const char *chain, int counters) argument
1183 list_rules(const ipt_chainlabel chain, int rulenum, int counters, struct iptc_handle *handle) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/
H A Dip6tables-restore.c27 static int binary = 0, counters = 0, verbose = 0, noflush = 0; variable
32 { "counters", 0, 0, 'c' },
47 " [ --counters ]\n"
133 counters = 1;
265 if (counters) {
271 "invalid policy counters "
308 /* we have counters in our input */
338 if (counters && pcnt && bcnt) {
339 add_argv("--set-counters");
H A Diptables-restore.c24 static int binary = 0, counters = 0, verbose = 0, noflush = 0; variable
29 { "counters", 0, 0, 'c' },
44 " [ --counters ]\n"
136 counters = 1;
268 if (counters) {
274 "invalid policy counters "
312 /* we have counters in our input */
342 if (counters && pcnt && bcnt) {
343 add_argv("--set-counters");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/libiptc/
H A Dlibiptc.c121 STRUCT_COUNTERS counters; /* per-chain counters */ member in struct:chain_head
833 memcpy(&h->chain_iterator_cur->counters, &pr->entry->counters,
834 sizeof(h->chain_iterator_cur->counters));
1183 /* set policy-counters */
1184 memcpy(&foot->e.counters, &c->counters, sizeof(STRUCT_COUNTERS));
1641 STRUCT_COUNTERS *counters,
1659 *counters
1640 TC_GET_POLICY(const char *chain, STRUCT_COUNTERS *counters, struct xtc_handle *handle) argument
2193 TC_SET_COUNTER(const IPT_CHAINLABEL chain, unsigned int rulenum, STRUCT_COUNTERS *counters, struct xtc_handle *handle) argument
2406 TC_SET_POLICY(const IPT_CHAINLABEL chain, const IPT_CHAINLABEL policy, STRUCT_COUNTERS *counters, struct xtc_handle *handle) argument
2486 counters_map_zeroed(STRUCT_COUNTERS_INFO *newcounters, STRUCT_REPLACE *repl, unsigned int idx, unsigned int mappos, STRUCT_COUNTERS *counters) argument
2503 counters_map_set(STRUCT_COUNTERS_INFO *newcounters, unsigned int idx, STRUCT_COUNTERS *counters) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter_ipv6/
H A Dip6_tables.h99 /* Packet and byte counters. */
100 struct xt_counters counters; member in struct:ip6t_entry
241 /* Number of counters (must be equal to current number of entries). */
243 /* The old entries' counters. */
244 struct xt_counters *counters; member in struct:ip6t_replace
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_arp/
H A Darp_tables.h104 /* Packet and byte counters. */
105 struct xt_counters counters; member in struct:arpt_entry
182 /* Number of counters (must be equal to current number of entries). */
184 /* The old entries' counters. */
185 struct xt_counters __user *counters; member in struct:arpt_replace
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debtables.c44 * Each cpu has its own set of counters, so there is no need for write_lock in
46 * For reading or updating the counters, the user context needs to
50 /* The size of each set of counters is altered to get cache alignment */
161 cb_base = COUNTER_BASE(private->counters, private->nentries,
898 struct ebt_counter *counters, unsigned int nentries)
903 /* counters of cpu 0 */
904 memcpy(counters, oldcounters,
907 /* add other counters to those of cpu 0 */
913 counters[i].pcnt += counter_base[i].pcnt;
914 counters[
897 get_counters(struct ebt_counter *oldcounters, struct ebt_counter *counters, unsigned int nentries) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/
H A Debtables.h50 /* nr of counters userspace expects back */
52 /* where the kernel will put the old counters */
53 struct ebt_counter __user *counters; member in struct:ebt_replace
67 /* nr of counters userspace expects back */
69 /* where the kernel will put the old counters */
70 struct ebt_counter *counters; member in struct:ebt_replace_kernel
268 struct ebt_counter counters[0] ____cacheline_aligned;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_ipv4/
H A Dip_tables.h94 /* Packet and byte counters. */
95 struct xt_counters counters; member in struct:ipt_entry
194 /* Number of counters (must be equal to current number of entries). */
196 /* The old entries' counters. */
197 struct xt_counters __user *counters; member in struct:ipt_replace
358 struct compat_xt_counters counters; member in struct:compat_ipt_entry
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dx_tables.h105 __u64 pcnt, bcnt; /* Packet and byte counters */
115 /* The counters (actually `number' of these). */
116 struct xt_counters counters[0]; member in struct:xt_counters_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_fs.c116 u64 counters[NUM_COUNTERS]; local
123 counters[i] = ipath_snap_cntr(dd, i);
125 return simple_read_from_buffer(buf, count, ppos, counters,
126 sizeof counters);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dx_tables.h112 u_int64_t pcnt, bcnt; /* Packet and byte counters */
123 /* The counters (actually `number' of these). */
124 struct xt_counters counters[0]; member in struct:xt_counters_info
368 struct compat_xt_counters counters[0]; member in struct:compat_xt_counters_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_ipv6/
H A Dip6_tables.h100 /* Packet and byte counters. */
101 struct xt_counters counters; member in struct:ip6t_entry
248 /* Number of counters (must be equal to current number of entries). */
250 /* The old entries' counters. */
251 struct xt_counters __user *counters; member in struct:ip6t_replace
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/libiptc/
H A Dlibip4tc.c150 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dr8169.c1069 struct rtl8169_counters *counters; local
1075 counters = pci_alloc_consistent(tp->pci_dev, sizeof(*counters), &paddr);
1076 if (!counters)
1092 data[0] = le64_to_cpu(counters->tx_packets);
1093 data[1] = le64_to_cpu(counters->rx_packets);
1094 data[2] = le64_to_cpu(counters->tx_errors);
1095 data[3] = le32_to_cpu(counters->rx_errors);
1096 data[4] = le16_to_cpu(counters->rx_missed);
1097 data[5] = le16_to_cpu(counters
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/oprofile/
H A Dop_model_p4.c369 #define CTR_IS_RESERVED(msrs,c) (msrs->counters[(c)].addr ? 1 : 0)
406 msrs->counters[i].addr = 0;
417 msrs->counters[i].addr = addr;
584 /* setup all counters */
671 release_perfctr_nmi(msrs->counters[i].addr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A Dxmlregexp.c259 xmlRegCounter *counters; member in struct:_xmlAutomata
272 xmlRegCounter *counters; member in struct:_xmlRegexp
341 int *errCounts; /* counters at the error state */
435 ret->counters = ctxt->counters;
661 ctxt->counters = NULL;
921 if (ctxt->counters != NULL)
922 xmlFree(ctxt->counters);
1191 fprintf(output, "%d counters:\n", ctxt->nbCounters);
1193 fprintf(output, " %d: min %d max %d\n", i, ctxt->counters[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_ioctl.c300 for (i = 0; i < dev->counters; i++) {
309 stats.count = dev->counters;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_conntrack_l3proto_ipv4_compat.c134 if (seq_print_counters(s, &ct->counters[IP_CT_DIR_ORIGINAL]))
145 if (seq_print_counters(s, &ct->counters[IP_CT_DIR_REPLY]))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A Dxmlregexp.c252 xmlRegCounter *counters; member in struct:_xmlAutomata
265 xmlRegCounter *counters; member in struct:_xmlRegexp
334 int *errCounts; /* counters at the error state */
428 ret->counters = ctxt->counters;
654 ctxt->counters = NULL;
838 if (ctxt->counters != NULL)
839 xmlFree(ctxt->counters);
1108 fprintf(output, "%d counters:\n", ctxt->nbCounters);
1110 fprintf(output, " %d: min %d max %d\n", i, ctxt->counters[
[all...]

Completed in 403 milliseconds

123