Home
last modified time | relevance | path

Searched refs:router_ifinfo (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/batman-adv/
Dbat_v.c706 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local
716 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() local
847 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 …]
Dbat_iv_ogm.c928 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local
1020 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() local
1378 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()
[all …]
Dgateway_client.c215 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local
248 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()
Dbat_v_ogm.c702 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local
745 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()