Searched refs:router_ifinfo (Results 1 – 4 of 4) sorted by relevance
526 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local536 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()537 if (!router_ifinfo) in batadv_v_gw_throughput_get()545 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()551 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()662 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_dump_entry() local672 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry()673 if (!router_ifinfo) in batadv_v_gw_dump_entry()704 router_ifinfo->bat_v.throughput)) { in batadv_v_gw_dump_entry()742 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_dump_entry()
1017 if (!router_ifinfo) in batadv_iv_ogm_orig_update()1030 if (router_ifinfo && in batadv_iv_ogm_orig_update()1049 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()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() local2268 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()2415 if (!router_ifinfo) in batadv_iv_gw_dump_entry()[all …]
203 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local236 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()238 if (!router_ifinfo) { in batadv_gw_election()257 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()268 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()279 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_gw_election()
699 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local742 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()746 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()750 router_last_seqno = router_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()752 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()765 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()