Home
last modified time | relevance | path

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

/net/batman-adv/
Dbat_v.c708 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_v_gw_throughput_get() local
718 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() local
849 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 …]
Dbat_iv_ogm.c1020 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_iv_ogm_orig_update() local
1113 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() local
1481 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_process_per_outif()
[all …]
Dgateway_client.c210 struct batadv_neigh_ifinfo *router_ifinfo = NULL; in batadv_gw_election() local
243 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()
Dbat_v_ogm.c491 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local
534 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()