Searched refs:stats_new (Results 1 – 3 of 3) sorted by relevance
33 link->stats_old = link->stats_new; in process_message()35 … r = sd_netlink_message_read(message, IFLA_STATS64, sizeof link->stats_new, &link->stats_new); in process_message()
58 if (link->stats_new.tx_bytes > link->stats_old.tx_bytes) in property_get_bit_rates()59 … tx = (uint64_t) ((link->stats_new.tx_bytes - link->stats_old.tx_bytes) / interval_sec); in property_get_bit_rates()61 …tx = (uint64_t) ((UINT64_MAX - (link->stats_old.tx_bytes - link->stats_new.tx_bytes)) / interval_s… in property_get_bit_rates()63 if (link->stats_new.rx_bytes > link->stats_old.rx_bytes) in property_get_bit_rates()64 … rx = (uint64_t) ((link->stats_new.rx_bytes - link->stats_old.rx_bytes) / interval_sec); in property_get_bit_rates()66 …rx = (uint64_t) ((UINT64_MAX - (link->stats_old.rx_bytes - link->stats_new.rx_bytes)) / interval_s… in property_get_bit_rates()
177 struct rtnl_link_stats64 stats_old, stats_new; member