Lines Matching defs:net_stats
850 const struct rtnl_link_stats64 *net_stats;
860 net_stats = dev_get_stats(netdev, &temp);
863 p[0] = net_stats->rx_packets;
864 p[1] = net_stats->tx_packets;
865 p[2] = net_stats->rx_bytes;
866 p[3] = net_stats->tx_bytes;
867 p[4] = net_stats->rx_errors;
868 p[5] = net_stats->tx_errors;
869 p[6] = net_stats->rx_dropped;
870 p[7] = net_stats->tx_dropped;
871 p[8] = net_stats->multicast;
872 p[9] = net_stats->collisions;
873 p[10] = net_stats->rx_over_errors;
874 p[11] = net_stats->rx_crc_errors;
875 p[12] = net_stats->rx_frame_errors;
876 p[13] = net_stats->rx_fifo_errors;
877 p[14] = net_stats->rx_missed_errors;
878 p[15] = net_stats->tx_aborted_errors;
879 p[16] = net_stats->tx_carrier_errors;
880 p[17] = net_stats->tx_fifo_errors;
881 p[18] = net_stats->tx_heartbeat_errors;
882 p[19] = net_stats->rx_length_errors;
883 p[20] = net_stats->tx_window_errors;
884 p[21] = net_stats->rx_compressed;
885 p[22] = net_stats->tx_compressed;