Searched refs:nstats (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/cxt1e1/
H A Dlinux.c340 struct net_device_stats *nstats; local
355 nstats = &ndev->stats;
358 memset (nstats, 0, sizeof (struct net_device_stats));
359 nstats->rx_packets = stats->rx_packets;
360 nstats->tx_packets = stats->tx_packets;
361 nstats->rx_bytes = stats->rx_bytes;
362 nstats->tx_bytes = stats->tx_bytes;
363 nstats->rx_errors = stats->rx_length_errors +
369 nstats->tx_errors = stats->tx_dropped +
372 nstats
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bnx2x/
H A Dbnx2x_stats.c956 struct net_device_stats *nstats = &bp->dev->stats; local
959 nstats->rx_packets =
964 nstats->tx_packets =
969 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi);
971 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi);
973 nstats->rx_dropped = estats->mac_discard;
975 nstats->rx_dropped +=
978 nstats->tx_dropped = 0;
980 nstats->multicast =
983 nstats
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4vf/
H A Dt4vf_hw.c1149 unsigned int nstats = min(6U, rem); local
1164 FW_VI_STATS_CMD_NSTATS(nstats));
1169 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats);
1171 rem -= nstats;
1172 fwsp += nstats;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ibm_newemac/
H A Dcore.h265 struct net_device_stats nstats; member in struct:emac_instance
H A Dcore.c1832 struct net_device_stats *nst = &dev->nstats;

Completed in 165 milliseconds