Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/renesas/
Dravb_main.c2090 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats() local
2119 stats1 = &priv->stats[RAVB_NC]; in ravb_get_stats()
2121 nstats->rx_packets += stats1->rx_packets; in ravb_get_stats()
2122 nstats->tx_packets += stats1->tx_packets; in ravb_get_stats()
2123 nstats->rx_bytes += stats1->rx_bytes; in ravb_get_stats()
2124 nstats->tx_bytes += stats1->tx_bytes; in ravb_get_stats()
2125 nstats->multicast += stats1->multicast; in ravb_get_stats()
2126 nstats->rx_errors += stats1->rx_errors; in ravb_get_stats()
2127 nstats->rx_crc_errors += stats1->rx_crc_errors; in ravb_get_stats()
2128 nstats->rx_frame_errors += stats1->rx_frame_errors; in ravb_get_stats()
[all …]
/linux-6.6.21/include/uapi/linux/
Dif_packet.h95 struct tpacket_stats stats1; member
/linux-6.6.21/net/packet/
Daf_packet.c2211 po->stats.stats1.tp_packets++; in packet_rcv()
2392 po->stats.stats1.tp_packets++; in tpacket_rcv()
4079 st.stats1.tp_drops = drops; in packet_getsockopt()
4080 st.stats1.tp_packets += drops; in packet_getsockopt()
4081 data = &st.stats1; in packet_getsockopt()