Searched refs:router_ifinfo (Results 1 – 4 of 4) sorted by relevance
545 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local555 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()556 if (!router_ifinfo) in batadv_v_gw_throughput_get()564 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()570 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()681 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_dump_entry() local691 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry()692 if (!router_ifinfo) in batadv_v_gw_dump_entry()723 router_ifinfo->bat_v.throughput)) { in batadv_v_gw_dump_entry()761 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_dump_entry()
925 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local1017 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()1018 if (!router_ifinfo) in batadv_iv_ogm_orig_update()1024 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()1031 if (router_ifinfo && in batadv_iv_ogm_orig_update()1032 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()1050 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()1320 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_process_per_outif() local1370 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()1373 if ((router_ifinfo && router_ifinfo->bat_iv.tq_avg != 0) && in batadv_iv_ogm_process_per_outif()[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()
698 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local741 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()745 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()749 router_last_seqno = router_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()751 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()764 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()