Searched refs:pcnt (Results 1 - 25 of 35) sorted by path

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/linux/netfilter_ipv4/
H A Dip_tables.h99 u_int64_t pcnt, bcnt; /* Packet and byte counters */ member in struct:ipt_counters
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dx_tables.h101 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
102 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
105 __u64 pcnt, bcnt; /* Packet and byte counters */ member in struct:xt_counters
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/iptables/
H A Dip6tables-restore.c81 unsigned long long pcnt, bcnt; local
84 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt);
85 ctr->pcnt = pcnt;
320 char *pcnt = NULL; local
340 pcnt = strtok(buffer+1, ":");
341 if (!pcnt)
363 if (counters && pcnt && bcnt) {
365 add_argv((char *) pcnt);
H A Dip6tables-save.c97 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt);
H A Dip6tables.c481 print_num(counters.pcnt, (format|FMT_NOTABLE));
566 print_num(fw->counters.pcnt, format);
1090 printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
1130 printf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
1193 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt);
1344 const char *pcnt = NULL, *bcnt = NULL; local
1662 pcnt = optarg;
1663 bcnt = strchr(pcnt + 1, ',');
1674 if (sscanf(pcnt, "%llu", &cnt) != 1)
1678 cs.fw6.counters.pcnt
[all...]
H A Diptables-restore.c81 unsigned long long pcnt, bcnt; local
84 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt);
85 ctr->pcnt = pcnt;
324 char *pcnt = NULL; local
344 pcnt = strtok(buffer+1, ":");
345 if (!pcnt)
367 if (counters && pcnt && bcnt) {
369 add_argv((char *) pcnt);
H A Diptables-save.c95 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt);
H A Diptables-xml.c61 __u64 *pcnt, *bcnt; local
64 pcnt = &ctr->pcnt;
68 (unsigned long long *)pcnt,
247 xmlAttrI("packet-count", (unsigned long long) ctr->pcnt);
569 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[]) argument
589 if (pcnt)
590 xmlAttrS("packet-count", pcnt);
728 char *pcnt = NULL; local
748 pcnt
[all...]
H A Diptables.c486 print_num(counters.pcnt, (format|FMT_NOTABLE));
573 print_num(fw->counters.pcnt, format);
1110 printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
1141 printf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
1204 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt);
1374 const char *pcnt = NULL, *bcnt = NULL; local
1690 pcnt = optarg;
1691 bcnt = strchr(pcnt + 1, ',');
1702 if (sscanf(pcnt, "%llu", &cnt) != 1)
1706 cs.fw.counters.pcnt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/libiptc/
H A Dlibip4tc.c150 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
H A Dlibip6tc.c181 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt);
H A Dlibiptc.c2460 answer->pcnt = a->pcnt - b->pcnt;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dipc.c457 unsigned int pcnt,poff,dcnt,doff,pdisp,ddisp; local
491 pcnt = SVAL(inbuf,smb_vwv2);
499 pscnt += pcnt;
505 if (pcnt) {
506 if (pdisp+pcnt > tpscnt)
508 if ((pdisp+pcnt < pdisp) || (pdisp+pcnt < pcnt))
512 if ((smb_base(inbuf) + poff + pcnt >= inbuf + bufsize) ||
513 (smb_base(inbuf) + poff + pcnt < smb_bas
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dvcs_hook.c22 int hook_call( unsigned id, unsigned pcnt, ...) { argument
41 HOOK_DATA(1) = pcnt;
43 va_start(ap, pcnt);
46 for (i=0; i!=pcnt; i++) {
52 va_start(ap, pcnt);
53 for( i = 1; i <= pcnt; i++ ) HOOK_DATA(i) = va_arg(ap,unsigned);
H A Dvcs_hook.h8 int hook_call( unsigned id, unsigned pcnt, ...);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/
H A Dpvrusb2-eeprom.c55 unsigned pcnt,tcnt; local
93 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) {
94 pcnt = 16;
95 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt;
103 msg[1].len = pcnt;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/maps/
H A Dpmcmsp-flash.c56 int pcnt; local
89 for (pcnt = 0; (env = prom_getenv(part_name)); pcnt++)
90 part_name[7] = '0' + pcnt + 1;
92 if (pcnt == 0) {
99 pcnt * sizeof(struct mtd_partition), GFP_KERNEL);
100 memset(msp_parts[i], 0, pcnt * sizeof(struct mtd_partition));
131 for (j = 0; j < pcnt; j++) {
150 add_mtd_partitions(msp_flash[i], msp_parts[i], pcnt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpasemi_mac.c398 unsigned int reg, pcnt; local
403 pcnt = *mac->rx_status & PAS_STATUS_PCNT_M;
405 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC;
414 unsigned int reg, pcnt; local
417 pcnt = *mac->tx_status & PAS_STATUS_PCNT_M;
419 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC;
600 unsigned int reg, pcnt; local
607 pcnt = *mac->tx_status & PAS_STATUS_PCNT_M;
609 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dx_tables.h107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
112 u_int64_t pcnt, bcnt; /* Packet and byte counters */ member in struct:xt_counters
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/
H A Debtables.h36 uint64_t pcnt; member in struct:ebt_counter
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debtables.c182 (*(counter_base + i)).pcnt++;
913 counters[i].pcnt += counter_base[i].pcnt;
1307 t->private->counters[i].pcnt += tmp[i].pcnt;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Darp_tables.c352 e->counters.pcnt = pos;
388 pos = e->counters.pcnt;
389 e->counters.pcnt = 0;
403 e->counters.pcnt = pos;
428 e->counters.pcnt = pos;
656 ADD_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
666 SET_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
906 ADD_COUNTER(e->counters, addme[*i].bcnt, addme[*i].pcnt);
H A Dip_tables.c384 e->counters.pcnt = pos;
428 pos = e->counters.pcnt;
429 e->counters.pcnt = 0;
443 e->counters.pcnt = pos;
467 e->counters.pcnt = pos;
772 ADD_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
783 SET_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
1282 ADD_COUNTER(e->counters, addme[*i].bcnt, addme[*i].pcnt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/
H A Dip6_tables.c403 e->counters.pcnt = pos;
446 pos = e->counters.pcnt;
447 e->counters.pcnt = 0;
461 e->counters.pcnt = pos;
485 e->counters.pcnt = pos;
758 ADD_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
769 SET_COUNTER(total[*i], e->counters.bcnt, e->counters.pcnt);
1024 ADD_COUNTER(e->counters, addme[*i].bcnt, addme[*i].pcnt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/
H A Dip6tables-restore.c79 return (sscanf(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2);
296 char *pcnt = NULL; local
315 pcnt = strtok(buffer+1, ":");
316 if (!pcnt)
338 if (counters && pcnt && bcnt) {
340 add_argv((char *) pcnt);

Completed in 327 milliseconds

12