tag | line | file | source code |
stats | 81 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 285 | drivers/net/3c501.c | lp->stats.tx_errors++; |
stats | 371 | drivers/net/3c501.c | lp->stats.tx_aborted_errors++; |
stats | 378 | drivers/net/3c501.c | lp->stats.collisions++; |
stats | 382 | drivers/net/3c501.c | lp->stats.tx_packets++; |
stats | 397 | drivers/net/3c501.c | lp->stats.rx_missed_errors++; |
stats | 399 | drivers/net/3c501.c | lp->stats.rx_length_errors++; |
stats | 440 | drivers/net/3c501.c | lp->stats.rx_over_errors++; |
stats | 449 | drivers/net/3c501.c | lp->stats.rx_dropped++; |
stats | 458 | drivers/net/3c501.c | lp->stats.rx_packets++; |
stats | 515 | drivers/net/3c501.c | return &lp->stats; |
stats | 217 | drivers/net/3c505.c | struct enet_statistics stats; |
stats | 597 | drivers/net/3c505.c | adapter->stats.rx_dropped++; |
stats | 768 | drivers/net/3c505.c | adapter->stats.rx_packets += adapter->irx_pcb.data.netstat.tot_recv; |
stats | 769 | drivers/net/3c505.c | adapter->stats.tx_packets += adapter->irx_pcb.data.netstat.tot_xmit; |
stats | 770 | drivers/net/3c505.c | adapter->stats.rx_crc_errors += adapter->irx_pcb.data.netstat.err_CRC; |
stats | 771 | drivers/net/3c505.c | adapter->stats.rx_frame_errors += adapter->irx_pcb.data.netstat.err_align; |
stats | 772 | drivers/net/3c505.c | adapter->stats.rx_fifo_errors += adapter->irx_pcb.data.netstat.err_ovrrun; |
stats | 1140 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1155 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1160 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1328 | drivers/net/3c505.c | memset(&(adapter->stats), 0, sizeof(struct enet_statistics)); |
stats | 120 | drivers/net/3c507.c | struct enet_statistics stats; |
stats | 464 | drivers/net/3c507.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 473 | drivers/net/3c507.c | lp->last_restart = lp->stats.tx_packets; |
stats | 549 | drivers/net/3c507.c | lp->stats.tx_packets++; |
stats | 550 | drivers/net/3c507.c | lp->stats.collisions += tx_status & 0xf; |
stats | 554 | drivers/net/3c507.c | lp->stats.tx_errors++; |
stats | 555 | drivers/net/3c507.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 556 | drivers/net/3c507.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 557 | drivers/net/3c507.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 558 | drivers/net/3c507.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 647 | drivers/net/3c507.c | return &lp->stats; |
stats | 828 | drivers/net/3c507.c | lp->stats.rx_errors++; |
stats | 829 | drivers/net/3c507.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 830 | drivers/net/3c507.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 831 | drivers/net/3c507.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 832 | drivers/net/3c507.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 833 | drivers/net/3c507.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 842 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 852 | drivers/net/3c507.c | lp->stats.rx_packets++; |
stats | 98 | drivers/net/3c509.c | struct enet_statistics stats; |
stats | 452 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 533 | drivers/net/3c509.c | return &lp->stats; |
stats | 551 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 552 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 554 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 555 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 556 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 557 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 582 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 584 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 585 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 586 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 587 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 588 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 589 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 609 | drivers/net/3c509.c | lp->stats.rx_packets++; |
stats | 615 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 169 | drivers/net/apricot.c | struct enet_statistics stats; |
stats | 353 | drivers/net/apricot.c | lp->stats.rx_dropped++; |
stats | 362 | drivers/net/apricot.c | lp->stats.rx_packets++; |
stats | 368 | drivers/net/apricot.c | lp->stats.rx_errors++; |
stats | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
stats | 370 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
stats | 371 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
stats | 372 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 373 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
stats | 374 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
stats | 375 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
stats | 416 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 417 | drivers/net/apricot.c | lp->stats.tx_aborted_errors++; |
stats | 592 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 594 | drivers/net/apricot.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 606 | drivers/net/apricot.c | lp->last_restart = lp->stats.tx_packets; |
stats | 638 | drivers/net/apricot.c | lp->stats.tx_dropped++; |
stats | 660 | drivers/net/apricot.c | lp->stats.tx_packets++; |
stats | 824 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 825 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
stats | 826 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 827 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
stats | 828 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
stats | 829 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
stats | 963 | drivers/net/apricot.c | return &lp->stats; |
stats | 72 | drivers/net/at1700.c | struct enet_statistics stats; |
stats | 380 | drivers/net/at1700.c | lp->stats.tx_errors++; |
stats | 464 | drivers/net/at1700.c | lp->stats.tx_packets++; |
stats | 508 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 509 | drivers/net/at1700.c | if (status & 0x08) lp->stats.rx_length_errors++; |
stats | 510 | drivers/net/at1700.c | if (status & 0x04) lp->stats.rx_frame_errors++; |
stats | 511 | drivers/net/at1700.c | if (status & 0x02) lp->stats.rx_crc_errors++; |
stats | 512 | drivers/net/at1700.c | if (status & 0x01) lp->stats.rx_over_errors++; |
stats | 522 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 530 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 547 | drivers/net/at1700.c | lp->stats.rx_packets++; |
stats | 605 | drivers/net/at1700.c | return &lp->stats; |
stats | 425 | drivers/net/atp.c | lp->stats.tx_errors++; |
stats | 520 | drivers/net/atp.c | lp->stats.rx_over_errors++; |
stats | 540 | drivers/net/atp.c | lp->stats.collisions++; |
stats | 542 | drivers/net/atp.c | lp->stats.tx_aborted_errors++; |
stats | 551 | drivers/net/atp.c | lp->stats.tx_packets++; |
stats | 570 | drivers/net/atp.c | lp->stats.rx_missed_errors++; |
stats | 619 | drivers/net/atp.c | lp->stats.rx_errors++; |
stats | 634 | drivers/net/atp.c | lp->stats.rx_dropped++; |
stats | 652 | drivers/net/atp.c | lp->stats.rx_packets++; |
stats | 710 | drivers/net/atp.c | return &lp->stats; |
stats | 7 | drivers/net/atp.h | struct enet_statistics stats; |
stats | 308 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 1046 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1047 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 1048 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 1049 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 1050 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 1058 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1072 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 1120 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1121 | drivers/net/depca.c | if (err_status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1122 | drivers/net/depca.c | if (err_status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1123 | drivers/net/depca.c | if (err_status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1124 | drivers/net/depca.c | if (err_status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1127 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1129 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1234 | drivers/net/depca.c | return &lp->stats; |
stats | 87 | drivers/net/dummy.c | struct enet_statistics *stats; |
stats | 96 | drivers/net/dummy.c | stats = (struct enet_statistics *)dev->priv; |
stats | 97 | drivers/net/dummy.c | stats->tx_packets++; |
stats | 107 | drivers/net/dummy.c | struct enet_statistics *stats = (struct enet_statistics*) dev->priv; |
stats | 108 | drivers/net/dummy.c | return stats; |
stats | 99 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 466 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 468 | drivers/net/eexpress.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 477 | drivers/net/eexpress.c | lp->last_restart = lp->stats.tx_packets; |
stats | 509 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 553 | drivers/net/eexpress.c | lp->stats.tx_packets++; |
stats | 554 | drivers/net/eexpress.c | lp->stats.collisions += tx_status & 0xf; |
stats | 558 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 559 | drivers/net/eexpress.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 560 | drivers/net/eexpress.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 561 | drivers/net/eexpress.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 562 | drivers/net/eexpress.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 605 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 677 | drivers/net/eexpress.c | return &lp->stats; |
stats | 933 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 934 | drivers/net/eexpress.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 935 | drivers/net/eexpress.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 936 | drivers/net/eexpress.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 937 | drivers/net/eexpress.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 938 | drivers/net/eexpress.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 947 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 958 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 262 | drivers/net/ewrk3.c | struct enet_statistics stats; /* Public stats */ |
stats | 1029 | drivers/net/ewrk3.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1030 | drivers/net/ewrk3.c | if (rx_status & DBE) lp->stats.rx_frame_errors++; |
stats | 1031 | drivers/net/ewrk3.c | if (rx_status & CRC) lp->stats.rx_crc_errors++; |
stats | 1032 | drivers/net/ewrk3.c | if (rx_status & PLL) lp->stats.rx_fifo_errors++; |
stats | 1060 | drivers/net/ewrk3.c | lp->stats.rx_packets++; |
stats | 1085 | drivers/net/ewrk3.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1124 | drivers/net/ewrk3.c | lp->stats.tx_errors++; |
stats | 1125 | drivers/net/ewrk3.c | if (tx_status & MAC_NCL) lp->stats.tx_carrier_errors++; |
stats | 1126 | drivers/net/ewrk3.c | if (tx_status & MAC_LCL) lp->stats.tx_window_errors++; |
stats | 1135 | drivers/net/ewrk3.c | lp->stats.collisions++; |
stats | 1141 | drivers/net/ewrk3.c | lp->stats.tx_packets++; |
stats | 1201 | drivers/net/ewrk3.c | return &lp->stats; |
stats | 204 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 645 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 800 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 801 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 802 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 803 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 806 | drivers/net/lance.c | lp->stats.tx_fifo_errors++; |
stats | 815 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 816 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 848 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 849 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
stats | 888 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 889 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 890 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 891 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 892 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 907 | drivers/net/lance.c | lp->stats.rx_dropped++; |
stats | 919 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 946 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 979 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 984 | drivers/net/lance.c | return &lp->stats; |
stats | 46 | drivers/net/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 54 | drivers/net/loopback.c | stats->tx_errors++; |
stats | 69 | drivers/net/loopback.c | stats->tx_packets++; |
stats | 213 | drivers/net/ni52.c | struct enet_statistics stats; |
stats | 788 | drivers/net/ni52.c | p->stats.rx_over_errors += l; |
stats | 888 | drivers/net/ni52.c | p->stats.rx_packets++; |
stats | 900 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 915 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 942 | drivers/net/ni52.c | p->stats.tx_packets++; |
stats | 943 | drivers/net/ni52.c | p->stats.collisions += (status & TCMD_MAXCOLLMASK); |
stats | 949 | drivers/net/ni52.c | p->stats.tx_errors++; |
stats | 952 | drivers/net/ni52.c | p->stats.collisions++; |
stats | 955 | drivers/net/ni52.c | p->stats.tx_carrier_errors++; |
stats | 965 | drivers/net/ni52.c | p->stats.collisions += 16; |
stats | 1100 | drivers/net/ni52.c | return &p->stats; |
stats | 140 | drivers/net/ni65.c | struct enet_statistics stats; |
stats | 422 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 424 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 476 | drivers/net/ni65.c | p->stats.tx_aborted_errors++; |
stats | 478 | drivers/net/ni65.c | p->stats.tx_carrier_errors++; |
stats | 479 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 483 | drivers/net/ni65.c | p->stats.tx_packets++; |
stats | 512 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 513 | drivers/net/ni65.c | p->stats.rx_length_errors++; |
stats | 521 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 522 | drivers/net/ni65.c | if(rmdstat & RCV_FRAM) p->stats.rx_frame_errors++; |
stats | 523 | drivers/net/ni65.c | if(rmdstat & RCV_OFLO) p->stats.rx_over_errors++; |
stats | 524 | drivers/net/ni65.c | if(rmdstat & RCV_CRC) p->stats.rx_crc_errors++; |
stats | 547 | drivers/net/ni65.c | p->stats.rx_packets++; |
stats | 554 | drivers/net/ni65.c | p->stats.rx_dropped++; |
stats | 637 | drivers/net/ni65.c | return &((struct priv *) dev->priv)->stats; |
stats | 285 | drivers/net/plip.c | struct enet_statistics *stats = (struct enet_statistics *) dev->priv; |
stats | 311 | drivers/net/plip.c | stats->rx_packets++; |
stats | 386 | drivers/net/plip.c | stats->tx_errors++; |
stats | 387 | drivers/net/plip.c | stats->tx_aborted_errors++; |
stats | 395 | drivers/net/plip.c | stats->rx_dropped++; |
stats | 631 | drivers/net/plip.c | struct enet_statistics *stats = (struct enet_statistics *) dev->priv; |
stats | 679 | drivers/net/plip.c | stats->rx_crc_errors++; |
stats | 804 | drivers/net/plip.c | struct enet_statistics *stats = (struct enet_statistics *) dev->priv; |
stats | 813 | drivers/net/plip.c | stats->collisions++; |
stats | 869 | drivers/net/plip.c | stats->tx_packets++; |
stats | 264 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
stats | 346 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
stats | 623 | drivers/net/ppp.c | sizeof (struct stats)); |
stats | 626 | drivers/net/ppp.c | result = (struct stats *) ifr->ifr_ifru.ifru_data; |
stats | 628 | drivers/net/ppp.c | memcpy_tofs (&result->ppp_stats, &ppp->stats, sizeof (struct ppp_stats)); |
stats | 673 | drivers/net/ppp.c | ppp->stats.sbytes += count; |
stats | 685 | drivers/net/ppp.c | ppp->stats.serrors++; |
stats | 700 | drivers/net/ppp.c | ppp->stats.sbytes += actual; |
stats | 735 | drivers/net/ppp.c | ppp->stats.sbytes += actual; |
stats | 770 | drivers/net/ppp.c | ppp->stats.roverrun++; |
stats | 843 | drivers/net/ppp.c | ppp->stats.rbytes += n; |
stats | 931 | drivers/net/ppp.c | ppp->stats.rbytes += count; |
stats | 996 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1009 | drivers/net/ppp.c | ppp->stats.runts++; |
stats | 1016 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1051 | drivers/net/ppp.c | ppp->stats.rothers++; |
stats | 1058 | drivers/net/ppp.c | ppp->stats.tossed++; |
stats | 1080 | drivers/net/ppp.c | ppp->stats.runcomp++; |
stats | 1099 | drivers/net/ppp.c | ppp->stats.roverrun++; |
stats | 1105 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1109 | drivers/net/ppp.c | ppp->stats.rcomp++; |
stats | 1115 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1119 | drivers/net/ppp.c | ppp->stats.runcomp++; |
stats | 1262 | drivers/net/ppp.c | ppp->stats.rgiants++; |
stats | 1277 | drivers/net/ppp.c | ppp->stats.rothers++; |
stats | 1383 | drivers/net/ppp.c | ++ppp->stats.sothers; |
stats | 1512 | drivers/net/ppp.c | memcpy_tofs ((void *) l, &ppp->stats, sizeof (struct ppp_stats)); |
stats | 1734 | drivers/net/ppp.c | ppp->stats.sbusy++; |
stats | 1756 | drivers/net/ppp.c | ++ppp->stats.scomp; |
stats | 1758 | drivers/net/ppp.c | ++ppp->stats.suncomp; |
stats | 1860 | drivers/net/ppp.c | ppp_stats.rx_packets = ppp->stats.rcomp + ppp->stats.runcomp; |
stats | 1861 | drivers/net/ppp.c | ppp_stats.rx_errors = ppp->stats.rerrors; |
stats | 1862 | drivers/net/ppp.c | ppp_stats.rx_dropped = ppp->stats.tossed; |
stats | 1864 | drivers/net/ppp.c | ppp_stats.rx_length_errors = ppp->stats.runts; |
stats | 1865 | drivers/net/ppp.c | ppp_stats.rx_over_errors = ppp->stats.roverrun; |
stats | 1868 | drivers/net/ppp.c | ppp_stats.tx_packets = ppp->stats.scomp + ppp->stats.suncomp; |
stats | 1869 | drivers/net/ppp.c | ppp_stats.tx_errors = ppp->stats.serrors; |
stats | 1872 | drivers/net/ppp.c | ppp_stats.collisions = ppp->stats.sbusy; |
stats | 462 | drivers/net/sk_g16.c | struct enet_statistics stats; /* Device driver statistics */ |
stats | 1352 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1422 | drivers/net/sk_g16.c | p->stats.tx_aborted_errors++; |
stats | 1424 | drivers/net/sk_g16.c | p->stats.tx_window_errors++; |
stats | 1426 | drivers/net/sk_g16.c | p->stats.tx_carrier_errors++; |
stats | 1429 | drivers/net/sk_g16.c | p->stats.tx_fifo_errors++; |
stats | 1439 | drivers/net/sk_g16.c | p->stats.tx_errors++; |
stats | 1457 | drivers/net/sk_g16.c | p->stats.collisions++; |
stats | 1461 | drivers/net/sk_g16.c | p->stats.tx_packets++; |
stats | 1540 | drivers/net/sk_g16.c | p->stats.rx_errors++; /* bad packet received */ |
stats | 1541 | drivers/net/sk_g16.c | p->stats.rx_length_errors++; /* packet to long */ |
stats | 1561 | drivers/net/sk_g16.c | p->stats.rx_errors++; |
stats | 1563 | drivers/net/sk_g16.c | if (rmdstat & RX_FRAM) p->stats.rx_frame_errors++; |
stats | 1564 | drivers/net/sk_g16.c | if (rmdstat & RX_CRC) p->stats.rx_crc_errors++; |
stats | 1588 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1624 | drivers/net/sk_g16.c | p->stats.rx_packets++; |
stats | 1702 | drivers/net/sk_g16.c | return &p->stats; /* Return Device status */ |
stats | 84 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 350 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 381 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 387 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 411 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 412 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 413 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 414 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 415 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 423 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 436 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 486 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 489 | drivers/net/skeleton.c | return &lp->stats; |
stats | 736 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 746 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 748 | drivers/net/slip.c | stats.rx_packets = sl->rx_packets; |
stats | 749 | drivers/net/slip.c | stats.tx_packets = sl->tx_packets; |
stats | 750 | drivers/net/slip.c | stats.rx_dropped = sl->rx_dropped; |
stats | 751 | drivers/net/slip.c | stats.tx_dropped = sl->tx_dropped; |
stats | 752 | drivers/net/slip.c | stats.tx_errors = sl->tx_errors; |
stats | 753 | drivers/net/slip.c | stats.rx_errors = sl->rx_errors; |
stats | 754 | drivers/net/slip.c | stats.rx_over_errors = sl->rx_over_errors; |
stats | 759 | drivers/net/slip.c | stats.rx_fifo_errors = comp->sls_i_compressed; |
stats | 760 | drivers/net/slip.c | stats.rx_dropped += comp->sls_i_tossed; |
stats | 761 | drivers/net/slip.c | stats.tx_fifo_errors = comp->sls_o_compressed; |
stats | 762 | drivers/net/slip.c | stats.collisions = comp->sls_o_misses; |
stats | 765 | drivers/net/slip.c | return (&stats); |
stats | 125 | drivers/net/znet.c | struct enet_statistics stats; |
stats | 445 | drivers/net/znet.c | lp->stats.tx_packets++; |
stats | 446 | drivers/net/znet.c | lp->stats.collisions += tx_status & 0xf; |
stats | 448 | drivers/net/znet.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 449 | drivers/net/znet.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 450 | drivers/net/znet.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 451 | drivers/net/znet.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 454 | drivers/net/znet.c | lp->stats.tx_errors++; |
stats | 541 | drivers/net/znet.c | lp->stats.rx_errors++; |
stats | 542 | drivers/net/znet.c | if (status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 543 | drivers/net/znet.c | if (status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 544 | drivers/net/znet.c | if (status & 0x0200) lp->stats.rx_over_errors++; /* Wrong. */ |
stats | 545 | drivers/net/znet.c | if (status & 0x0100) lp->stats.rx_fifo_errors++; |
stats | 546 | drivers/net/znet.c | if (status & 0x0080) lp->stats.rx_length_errors++; |
stats | 548 | drivers/net/znet.c | lp->stats.rx_length_errors++; |
stats | 557 | drivers/net/znet.c | lp->stats.rx_dropped++; |
stats | 583 | drivers/net/znet.c | lp->stats.rx_dropped++; |
stats | 587 | drivers/net/znet.c | lp->stats.rx_packets++; |
stats | 635 | drivers/net/znet.c | return &lp->stats; |
stats | 224 | include/linux/ppp.h | struct ppp_stats stats; /* statistic information */ |
stats | 967 | net/inet/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 970 | net/inet/dev.c | if (stats) |
stats | 973 | net/inet/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 974 | net/inet/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 975 | net/inet/dev.c | stats->rx_fifo_errors, |
stats | 976 | net/inet/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 977 | net/inet/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 978 | net/inet/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 979 | net/inet/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 980 | net/inet/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 981 | net/inet/dev.c | + stats->tx_window_errors + stats->tx_heartbeat_errors); |