Lines Matching refs:neigh_ifinfo
524 struct batadv_neigh_ifinfo *neigh_ifinfo = NULL; in batadv_v_ogm_forward() local
559 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); in batadv_v_ogm_forward()
560 if (!neigh_ifinfo) in batadv_v_ogm_forward()
576 ogm_forward->throughput = htonl(neigh_ifinfo->bat_v.throughput); in batadv_v_ogm_forward()
589 batadv_neigh_ifinfo_put(neigh_ifinfo); in batadv_v_ogm_forward()
614 struct batadv_neigh_ifinfo *neigh_ifinfo = NULL; in batadv_v_ogm_metric_update() local
653 neigh_ifinfo = batadv_neigh_ifinfo_new(neigh_node, if_outgoing); in batadv_v_ogm_metric_update()
654 if (!neigh_ifinfo) in batadv_v_ogm_metric_update()
660 neigh_ifinfo->bat_v.throughput = path_throughput; in batadv_v_ogm_metric_update()
661 neigh_ifinfo->bat_v.last_seqno = ntohl(ogm2->seqno); in batadv_v_ogm_metric_update()
662 neigh_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update()
670 batadv_neigh_ifinfo_put(neigh_ifinfo); in batadv_v_ogm_metric_update()
698 struct batadv_neigh_ifinfo *router_ifinfo = NULL, *neigh_ifinfo = NULL; in batadv_v_ogm_route_update() local
742 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); in batadv_v_ogm_route_update()
745 if (!router_ifinfo || !neigh_ifinfo) in batadv_v_ogm_route_update()
748 neigh_last_seqno = neigh_ifinfo->bat_v.last_seqno; in batadv_v_ogm_route_update()
752 neigh_throughput = neigh_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()
765 batadv_neigh_ifinfo_put(neigh_ifinfo); in batadv_v_ogm_route_update()