Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dnexthop.c81 WARN_ON(!list_empty(&nhge->nh_list)); in nexthop_free_mpath()
678 list_for_each_entry(f6i, &old->f6i_list, nh_list) { in fib6_check_nh_list()
751 list_for_each_entry(fi, &old->fi_list, nh_list) { in fib_check_nh_list()
821 list_del(&nhges[i].nh_list); in remove_nh_grp_entry()
825 list_add(&new_nhges[j].nh_list, &new_nhges[j].nh->grp_list); in remove_nh_grp_entry()
832 list_del(&nhge->nh_list); in remove_nh_grp_entry()
844 list_for_each_entry_safe(nhge, tmp, &nh->grp_list, nh_list) in remove_nexthop_from_groups()
862 list_del_init(&nhge->nh_list); in remove_nexthop_group()
873 list_for_each_entry(fi, &nh->fi_list, nh_list) { in __remove_nexthop_fib()
881 list_for_each_entry_safe(f6i, tmp, &nh->f6i_list, nh_list) { in __remove_nexthop_fib()
[all …]
Dfib_semantics.c272 list_del(&fi->nh_list); in fib_release_info()
1619 list_add(&fi->nh_list, &nh->fi_list); in fib_create_info()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dfib.c73 struct list_head nh_list; member
417 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()
436 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()
480 INIT_LIST_HEAD(&fib6_rt->nh_list); in nsim_fib6_rt_create()
517 list_for_each_entry_safe(iter, tmp, &fib6_rt->nh_list, list) in nsim_fib6_rt_destroy()
519 WARN_ON_ONCE(!list_empty(&fib6_rt->nh_list)); in nsim_fib6_rt_destroy()
589 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) in nsim_fib6_rt_hw_flags_set()
/kernel/linux/linux-5.10/include/net/
Dnexthop.h71 struct list_head nh_list; member
Dip6_fib.h175 struct list_head nh_list; member
Dip_fib.h134 struct list_head nh_list; member
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c82 struct list_head nh_list; member
842 INIT_LIST_HEAD(&f->nh_list); in vxlan_fdb_alloc()
908 list_del_rcu(&fdb->nh_list); in vxlan_fdb_nh_update()
912 list_add_tail_rcu(&fdb->nh_list, &nh->fdb_list); in vxlan_fdb_nh_update()
1002 list_del_rcu(&f->nh_list); in vxlan_fdb_destroy()
4687 list_for_each_entry_rcu(fdb, &nh->fdb_list, nh_list) { in vxlan_fdb_nh_flush()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c1034 if (rt->nh && !list_empty(&rt->nh_list)) in fib6_purge_rt()
1035 list_del_init(&rt->nh_list); in fib6_purge_rt()
1479 list_add(&rt->nh_list, &rt->nh->f6i_list); in fib6_add()