Lines Matching refs:stats
328 struct net_device_stats stats;
829 lp->stats.rx_dropped++;
845 lp->stats.rx_packets++;
846 lp->stats.rx_bytes+=pkt_len;
852 lp->stats.rx_errors++;
854 lp->stats.collisions++;
856 lp->stats.rx_length_errors++;
858 lp->stats.rx_over_errors++;
860 lp->stats.rx_fifo_errors++;
862 lp->stats.rx_frame_errors++;
864 lp->stats.rx_crc_errors++;
866 lp->stats.rx_length_errors++;
917 lp->stats.tx_errors++;
918 lp->stats.tx_aborted_errors++;
1039 lp->stats.tx_errors++;
1042 if (lp->last_restart == lp->stats.tx_packets) {
1051 lp->last_restart = lp->stats.tx_packets;
1083 lp->stats.tx_dropped++;
1108 lp->stats.tx_packets++;
1109 lp->stats.tx_bytes += length;
1342 lp->stats.tx_errors++;
1344 lp->stats.collisions++;
1346 lp->stats.tx_heartbeat_errors++;
1348 lp->stats.tx_carrier_errors++;
1350 lp->stats.collisions++;
1352 lp->stats.tx_aborted_errors++;
1407 lp->stats.rx_errors++;
1408 lp->stats.rx_fifo_errors++;
1496 return &lp->stats;