Lines Matching defs:neigh1
2003 * @neigh1: the first neighbor object of the comparison
2010 * It is less, equal to or greater than 0 if the metric via neigh1 is lower,
2015 static bool batadv_iv_ogm_neigh_diff(struct batadv_neigh_node *neigh1,
2025 neigh1_ifinfo = batadv_neigh_ifinfo_get(neigh1, if_outgoing1);
2178 * @neigh1: the first neighbor object of the comparison
2183 * Return: a value less, equal to or greater than 0 if the metric via neigh1 is
2186 static int batadv_iv_ogm_neigh_cmp(struct batadv_neigh_node *neigh1,
2194 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2,
2203 * batadv_iv_ogm_neigh_is_sob() - check if neigh1 is similarly good or better
2205 * @neigh1: the first neighbor object of the comparison
2210 * Return: true if the metric via neigh1 is equally good or better than
2214 batadv_iv_ogm_neigh_is_sob(struct batadv_neigh_node *neigh1,
2222 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2,