Home
last modified time | relevance | path

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

/openbmc/linux/net/batman-adv/
H A Dbat_v.c275 struct batadv_neigh_ifinfo *n_ifinfo; in batadv_v_orig_dump_subentry() local
280 n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); in batadv_v_orig_dump_subentry()
281 if (!n_ifinfo) in batadv_v_orig_dump_subentry()
284 throughput = n_ifinfo->bat_v.throughput * 100; in batadv_v_orig_dump_subentry()
286 batadv_neigh_ifinfo_put(n_ifinfo); in batadv_v_orig_dump_subentry()
H A Dbat_iv_ogm.c1785 struct batadv_neigh_ifinfo *n_ifinfo; in batadv_iv_ogm_neigh_get_tq_avg() local
1787 n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); in batadv_iv_ogm_neigh_get_tq_avg()
1788 if (!n_ifinfo) in batadv_iv_ogm_neigh_get_tq_avg()
1791 *tq_avg = n_ifinfo->bat_iv.tq_avg; in batadv_iv_ogm_neigh_get_tq_avg()
1792 batadv_neigh_ifinfo_put(n_ifinfo); in batadv_iv_ogm_neigh_get_tq_avg()