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 …]
921 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local1013 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()1014 if (!router_ifinfo) in batadv_iv_ogm_orig_update()1020 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()1027 if (router_ifinfo && in batadv_iv_ogm_orig_update()1028 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()1049 if (router_ifinfo) 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()[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()
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()767 if (router_ifinfo) in batadv_v_ogm_route_update()768 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()