Searched refs:router_ifinfo (Results 1 – 4 of 4) sorted by relevance
706 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local716 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()717 if (!router_ifinfo) in batadv_v_gw_throughput_get()725 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()732 if (router_ifinfo) in batadv_v_gw_throughput_get()733 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()840 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_write_buffer_text() local847 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()848 if (!router_ifinfo) in batadv_v_gw_write_buffer_text()856 router_ifinfo->bat_v.throughput / 10, in batadv_v_gw_write_buffer_text()[all …]
928 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local1020 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()1021 if (!router_ifinfo) in batadv_iv_ogm_orig_update()1027 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()1034 if (router_ifinfo && in batadv_iv_ogm_orig_update()1035 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()1056 if (router_ifinfo) in batadv_iv_ogm_orig_update()1057 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()1328 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_process_per_outif() local1378 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()[all …]
215 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local248 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()250 if (!router_ifinfo) { in batadv_gw_election()269 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()280 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()294 if (router_ifinfo) in batadv_gw_election()295 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_gw_election()
702 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local745 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()749 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()753 router_last_seqno = router_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()755 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()771 if (router_ifinfo) in batadv_v_ogm_route_update()772 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()