Home
last modified time | relevance | path

Searched refs:now_packets (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/igc/
H A Dif_igc.c941 u32 now_bytes, now_packets; in igc_aim_rx_delta() local
945 now_packets = (u32)snapshot; in igc_aim_rx_delta()
947 *packets = now_packets - rxr->rx_packets_last; in igc_aim_rx_delta()
949 rxr->rx_packets_last = now_packets; in igc_aim_rx_delta()
962 u32 now_bytes, now_packets; in igc_aim_tx_delta() local
966 now_packets = (u32)snapshot; in igc_aim_tx_delta()
968 *packets = now_packets - txr->tx_packets_last; in igc_aim_tx_delta()
970 txr->tx_packets_last = now_packets; in igc_aim_tx_delta()
/freebsd/sys/dev/e1000/
H A Dif_em.c2027 u32 now_bytes, now_packets; in em_aim_rx_delta() local
2031 now_packets = (u32)snapshot; in em_aim_rx_delta()
2033 *packets = now_packets - rxr->rx_packets_last; in em_aim_rx_delta()
2035 rxr->rx_packets_last = now_packets; in em_aim_rx_delta()
2048 u32 now_bytes, now_packets; in em_aim_tx_delta() local
2052 now_packets = (u32)snapshot; in em_aim_tx_delta()
2054 *packets = now_packets - txr->tx_packets_last; in em_aim_tx_delta()
2056 txr->tx_packets_last = now_packets; in em_aim_tx_delta()