Home
last modified time | relevance | path

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

/linux-6.12.1/net/batman-adv/
Dsoft-interface.c99 static u64 batadv_sum_counter(struct batadv_priv *bat_priv, size_t idx) in batadv_sum_counter() function
117 stats->tx_packets = batadv_sum_counter(bat_priv, BATADV_CNT_TX); in batadv_interface_stats()
118 stats->tx_bytes = batadv_sum_counter(bat_priv, BATADV_CNT_TX_BYTES); in batadv_interface_stats()
119 stats->tx_dropped = batadv_sum_counter(bat_priv, BATADV_CNT_TX_DROPPED); in batadv_interface_stats()
120 stats->rx_packets = batadv_sum_counter(bat_priv, BATADV_CNT_RX); in batadv_interface_stats()
121 stats->rx_bytes = batadv_sum_counter(bat_priv, BATADV_CNT_RX_BYTES); in batadv_interface_stats()
978 data[i] = batadv_sum_counter(bat_priv, i); in batadv_get_ethtool_stats()