Home
last modified time | relevance | path

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

/openbmc/linux/net/batman-adv/
H A Dbat_v.c456 struct batadv_neigh_ifinfo *ifinfo1, *ifinfo2; in batadv_v_neigh_cmp() local
463 ifinfo2 = batadv_neigh_ifinfo_get(neigh2, if_outgoing2); in batadv_v_neigh_cmp()
464 if (!ifinfo2) in batadv_v_neigh_cmp()
467 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput; in batadv_v_neigh_cmp()
469 batadv_neigh_ifinfo_put(ifinfo2); in batadv_v_neigh_cmp()
481 struct batadv_neigh_ifinfo *ifinfo1, *ifinfo2; in batadv_v_neigh_is_sob() local
489 ifinfo2 = batadv_neigh_ifinfo_get(neigh2, if_outgoing2); in batadv_v_neigh_is_sob()
490 if (!ifinfo2) in batadv_v_neigh_is_sob()
496 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob()
498 batadv_neigh_ifinfo_put(ifinfo2); in batadv_v_neigh_is_sob()