Home
last modified time | relevance | path

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

/linux-6.6.21/net/batman-adv/
Dbat_v.c526 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local
536 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
537 if (!router_ifinfo) in batadv_v_gw_throughput_get()
545 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()
551 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()
662 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_dump_entry() local
672 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry()
673 if (!router_ifinfo) in batadv_v_gw_dump_entry()
704 router_ifinfo->bat_v.throughput)) { in batadv_v_gw_dump_entry()
742 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_dump_entry()
Dbat_iv_ogm.c924 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local
1016 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()
1017 if (!router_ifinfo) in batadv_iv_ogm_orig_update()
1023 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()
1030 if (router_ifinfo && in batadv_iv_ogm_orig_update()
1031 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { in batadv_iv_ogm_orig_update()
1049 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_iv_ogm_orig_update()
1319 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_process_per_outif() local
1369 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()
1372 if ((router_ifinfo && router_ifinfo->bat_iv.tq_avg != 0) && in batadv_iv_ogm_process_per_outif()
[all …]
Dgateway_client.c203 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local
236 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()
Dbat_v_ogm.c699 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local
742 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()
746 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()
750 router_last_seqno = router_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()
752 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()
765 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()