Lines Matching refs:router_ifinfo

924 	struct batadv_neigh_ifinfo *router_ifinfo = NULL;  in batadv_iv_ogm_orig_update()  local
1016 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()
1017 if (!router_ifinfo) in batadv_iv_ogm_orig_update()
1023 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()
1030 if (router_ifinfo && in batadv_iv_ogm_orig_update()
1031 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()
1049 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()
1319 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_process_per_outif() local
1369 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()
1372 if ((router_ifinfo && router_ifinfo->bat_iv.tq_avg != 0) && in batadv_iv_ogm_process_per_outif()
1491 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_process_per_outif()
2251 struct batadv_neigh_ifinfo *router_ifinfo; in batadv_iv_gw_get_best_gw_node() local
2266 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_iv_gw_get_best_gw_node()
2268 if (!router_ifinfo) in batadv_iv_gw_get_best_gw_node()
2274 tq_avg = router_ifinfo->bat_iv.tq_avg; in batadv_iv_gw_get_best_gw_node()
2317 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_gw_get_best_gw_node()
2404 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_gw_dump_entry() local
2414 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_iv_gw_dump_entry()
2415 if (!router_ifinfo) in batadv_iv_gw_dump_entry()
2440 nla_put_u8(msg, BATADV_ATTR_TQ, router_ifinfo->bat_iv.tq_avg) || in batadv_iv_gw_dump_entry()
2460 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_gw_dump_entry()