Lines Matching defs:neigh1
2169 * @neigh1: the first neighbor object of the comparison
2176 * It is less, equal to or greater than 0 if the metric via neigh1 is lower,
2181 static bool batadv_iv_ogm_neigh_diff(struct batadv_neigh_node *neigh1,
2191 neigh1_ifinfo = batadv_neigh_ifinfo_get(neigh1, if_outgoing1);
2344 * @neigh1: the first neighbor object of the comparison
2349 * Return: a value less, equal to or greater than 0 if the metric via neigh1 is
2352 static int batadv_iv_ogm_neigh_cmp(struct batadv_neigh_node *neigh1,
2360 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2,
2369 * batadv_iv_ogm_neigh_is_sob() - check if neigh1 is similarly good or better
2371 * @neigh1: the first neighbor object of the comparison
2376 * Return: true if the metric via neigh1 is equally good or better than
2380 batadv_iv_ogm_neigh_is_sob(struct batadv_neigh_node *neigh1,
2388 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2,