/kernel/linux/linux-5.10/net/rose/ |
H A D | rose_route.c | 265 if (rose_route->neigh1 != NULL) in rose_remove_route() 266 rose_route->neigh1->use--; in rose_remove_route() 540 if (s->neigh1->dev == dev || s->neigh2->dev == dev) 666 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci() 780 if ((rose_route->neigh1 == rose_neigh && rose_route->neigh2 == rose_neigh) || in rose_del_route_by_neigh() 781 (rose_route->neigh1 == rose_neigh && rose_route->neigh2 == NULL) || in rose_del_route_by_neigh() 782 (rose_route->neigh2 == rose_neigh && rose_route->neigh1 == NULL)) { in rose_del_route_by_neigh() 789 if (rose_route->neigh1 == rose_neigh) { in rose_del_route_by_neigh() 790 rose_route->neigh1->use--; in rose_del_route_by_neigh() 791 rose_route->neigh1 in rose_del_route_by_neigh() [all...] |
/kernel/linux/linux-6.6/net/rose/ |
H A D | rose_route.c | 265 if (rose_route->neigh1 != NULL) in rose_remove_route() 266 rose_route->neigh1->use--; in rose_remove_route() 542 if (s->neigh1->dev == dev || s->neigh2->dev == dev) 670 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci() 784 if ((rose_route->neigh1 == rose_neigh && rose_route->neigh2 == rose_neigh) || in rose_del_route_by_neigh() 785 (rose_route->neigh1 == rose_neigh && rose_route->neigh2 == NULL) || in rose_del_route_by_neigh() 786 (rose_route->neigh2 == rose_neigh && rose_route->neigh1 == NULL)) { in rose_del_route_by_neigh() 793 if (rose_route->neigh1 == rose_neigh) { in rose_del_route_by_neigh() 794 rose_route->neigh1->use--; in rose_del_route_by_neigh() 795 rose_route->neigh1 in rose_del_route_by_neigh() [all...] |
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | bat_v.c | 451 static int batadv_v_neigh_cmp(struct batadv_neigh_node *neigh1, in batadv_v_neigh_cmp() argument 459 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_cmp() 476 static bool batadv_v_neigh_is_sob(struct batadv_neigh_node *neigh1, in batadv_v_neigh_is_sob() argument 485 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_is_sob()
|
H A D | bat_iv_ogm.c | 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, in batadv_iv_ogm_neigh_diff() argument 2025 neigh1_ifinfo = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_iv_ogm_neigh_diff() 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, in batadv_iv_ogm_neigh_cmp() argument 2194 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2, in batadv_iv_ogm_neigh_cmp() 2203 * batadv_iv_ogm_neigh_is_sob() - check if neigh1 is similarly good or better 2205 * @neigh1 2214 batadv_iv_ogm_neigh_is_sob(struct batadv_neigh_node *neigh1, struct batadv_hard_iface *if_outgoing1, struct batadv_neigh_node *neigh2, struct batadv_hard_iface *if_outgoing2) batadv_iv_ogm_neigh_is_sob() argument [all...] |
H A D | types.h | 2161 int (*cmp)(struct batadv_neigh_node *neigh1, 2167 * @is_similar_or_better: check if neigh1 is equally similar or better 2171 bool (*is_similar_or_better)(struct batadv_neigh_node *neigh1,
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | bat_v.c | 605 static int batadv_v_neigh_cmp(struct batadv_neigh_node *neigh1, in batadv_v_neigh_cmp() argument 613 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_cmp() 630 static bool batadv_v_neigh_is_sob(struct batadv_neigh_node *neigh1, in batadv_v_neigh_is_sob() argument 639 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_is_sob()
|
H A D | bat_iv_ogm.c | 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, in batadv_iv_ogm_neigh_diff() argument 2191 neigh1_ifinfo = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_iv_ogm_neigh_diff() 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, in batadv_iv_ogm_neigh_cmp() argument 2360 ret = batadv_iv_ogm_neigh_diff(neigh1, if_outgoing1, neigh2, in batadv_iv_ogm_neigh_cmp() 2369 * batadv_iv_ogm_neigh_is_sob() - check if neigh1 is similarly good or better 2371 * @neigh1 2380 batadv_iv_ogm_neigh_is_sob(struct batadv_neigh_node *neigh1, struct batadv_hard_iface *if_outgoing1, struct batadv_neigh_node *neigh2, struct batadv_hard_iface *if_outgoing2) batadv_iv_ogm_neigh_is_sob() argument [all...] |
H A D | types.h | 2228 int (*cmp)(struct batadv_neigh_node *neigh1, 2234 * @is_similar_or_better: check if neigh1 is equally similar or better 2238 bool (*is_similar_or_better)(struct batadv_neigh_node *neigh1,
|
/kernel/linux/linux-5.10/include/net/ |
H A D | rose.h | 122 struct rose_neigh *neigh1, *neigh2; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | rose.h | 123 struct rose_neigh *neigh1, *neigh2; member
|