Searched refs:router_ifinfo (Results 1 – 4 of 4) sorted by relevance
708 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local718 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()719 if (!router_ifinfo) in batadv_v_gw_throughput_get()727 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()734 if (router_ifinfo) in batadv_v_gw_throughput_get()735 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()842 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_write_buffer_text() local849 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()850 if (!router_ifinfo) in batadv_v_gw_write_buffer_text()858 router_ifinfo->bat_v.throughput / 10, in batadv_v_gw_write_buffer_text()[all …]
1020 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local1113 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()1114 if (!router_ifinfo) in batadv_iv_ogm_orig_update()1120 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()1127 if (router_ifinfo && in batadv_iv_ogm_orig_update()1128 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()1157 if (router_ifinfo) in batadv_iv_ogm_orig_update()1158 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()1431 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_process_per_outif() local1481 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()[all …]
210 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local243 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()245 if (!router_ifinfo) { in batadv_gw_election()264 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()275 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()289 if (router_ifinfo) in batadv_gw_election()290 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_gw_election()
491 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local534 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()538 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()542 router_last_seqno = router_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()544 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()560 if (router_ifinfo) in batadv_v_ogm_route_update()561 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()