Home
last modified time | relevance | path

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

/Linux-v6.1/net/batman-adv/
Dbat_v.c545 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local
555 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
556 if (!router_ifinfo) in batadv_v_gw_throughput_get()
564 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get()
570 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_throughput_get()
681 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_dump_entry() local
691 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry()
692 if (!router_ifinfo) in batadv_v_gw_dump_entry()
723 router_ifinfo->bat_v.throughput)) { in batadv_v_gw_dump_entry()
761 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_gw_dump_entry()
Dbat_iv_ogm.c925 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local
1017 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()
1018 if (!router_ifinfo) in batadv_iv_ogm_orig_update()
1024 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()
1031 if (router_ifinfo && in batadv_iv_ogm_orig_update()
1032 neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { 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() local
1370 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()
1373 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.c698 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local
741 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()
764 batadv_neigh_ifinfo_put(router_ifinfo); in batadv_v_ogm_route_update()