Home
last modified time | relevance | path

Searched refs:pktStats (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dewrk3.c282 struct ewrk3_stats pktStats; /* Private stats counters */ member
1028 lp->pktStats.bins[i]++; in ewrk3_rx()
1035 lp->pktStats.broadcast++; in ewrk3_rx()
1037 lp->pktStats.multicast++; in ewrk3_rx()
1042 lp->pktStats.unicast++; in ewrk3_rx()
1044 lp->pktStats.bins[0]++; /* Duplicates stats.rx_packets */ in ewrk3_rx()
1045 if (lp->pktStats.bins[0] == 0) { /* Reset counters */ in ewrk3_rx()
1046 memset(&lp->pktStats, 0, sizeof(lp->pktStats)); in ewrk3_rx()
1100 lp->pktStats.tx_underruns++; in ewrk3_tx()
1102 lp->pktStats.excessive_underruns++; in ewrk3_tx()
[all …]
Ddepca.c413 } pktStats; member
999 lp->pktStats.bins[i]++; in depca_rx()
1005 lp->pktStats.broadcast++; in depca_rx()
1007 lp->pktStats.multicast++; in depca_rx()
1010 lp->pktStats.unicast++; in depca_rx()
1013 lp->pktStats.bins[0]++; /* Duplicates stats.rx_packets */ in depca_rx()
1014 if (lp->pktStats.bins[0] == 0) { /* Reset counters */ in depca_rx()
1015 memset((char *) &lp->pktStats, 0, sizeof(lp->pktStats)); in depca_rx()
2000 ioc->len = sizeof(lp->pktStats); in depca_ioctl()
2001 if (copy_to_user(ioc->data, &lp->pktStats, ioc->len)) in depca_ioctl()
[all …]
Dde4x5.c801 struct pkt_stats pktStats; /* Private stats counters */ member
1725 if (status & RD_RF) lp->pktStats.rx_runt_frames++; in de4x5_rx()
1726 if (status & RD_CS) lp->pktStats.rx_collision++; in de4x5_rx()
1727 if (status & RD_DB) lp->pktStats.rx_dribble++; in de4x5_rx()
1728 if (status & RD_OF) lp->pktStats.rx_overflow++; in de4x5_rx()
1803 if (status & TD_EC) lp->pktStats.excessive_collisions++; in de4x5_tx()
1961 lp->pktStats.bins[i]++; in de4x5_local_stats()
1967 lp->pktStats.broadcast++; in de4x5_local_stats()
1969 lp->pktStats.multicast++; in de4x5_local_stats()
1973 lp->pktStats.unicast++; in de4x5_local_stats()
[all …]