Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dnexthop.c476 WARN_ON(!list_empty(&nhge->nh_list)); in nexthop_free_group()
1342 list_for_each_entry(f6i, &old->f6i_list, nh_list) { in fib6_check_nh_list()
1415 list_for_each_entry(fi, &old->fi_list, nh_list) { in fib_check_nh_list()
1800 list_del(&nhges[i].nh_list); in remove_nh_grp_entry()
1804 list_add(&new_nhges[j].nh_list, &new_nhges[j].nh->grp_list); in remove_nh_grp_entry()
1815 list_del(&nhge->nh_list); in remove_nh_grp_entry()
1837 list_for_each_entry_safe(nhge, tmp, &nh->grp_list, nh_list) in remove_nexthop_from_groups()
1856 list_del_init(&nhge->nh_list); in remove_nexthop_group()
1872 list_for_each_entry(fi, &nh->fi_list, nh_list) { in __remove_nexthop_fib()
1880 list_for_each_entry_safe(f6i, tmp, &nh->f6i_list, nh_list) { in __remove_nexthop_fib()
[all …]
Dfib_semantics.c273 list_del(&fi->nh_list); in fib_release_info()
1609 list_add(&fi->nh_list, &nh->fi_list); in fib_create_info()
/linux-6.6.21/drivers/net/netdevsim/
Dfib.c90 struct list_head nh_list; member
487 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()
506 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()
559 INIT_LIST_HEAD(&fib6_rt->nh_list); in nsim_fib6_rt_create()
582 list_for_each_entry_safe(iter, tmp, &fib6_rt->nh_list, list) in nsim_fib6_rt_destroy()
584 WARN_ON_ONCE(!list_empty(&fib6_rt->nh_list)); in nsim_fib6_rt_destroy()
670 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) in nsim_fib6_rt_hw_flags_set()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_private.h38 struct list_head nh_list; member
Dvxlan_core.c808 INIT_LIST_HEAD(&f->nh_list); in vxlan_fdb_alloc()
872 list_del_rcu(&fdb->nh_list); in vxlan_fdb_nh_update()
876 list_add_tail_rcu(&fdb->nh_list, &nh->fdb_list); in vxlan_fdb_nh_update()
966 list_del_rcu(&f->nh_list); in vxlan_fdb_destroy()
4676 list_for_each_entry_rcu(fdb, &nh->fdb_list, nh_list) { in vxlan_fdb_nh_flush()
/linux-6.6.21/include/net/
Dnexthop.h115 struct list_head nh_list; member
Dip6_fib.h176 struct list_head nh_list; member
Dip_fib.h137 struct list_head nh_list; member
/linux-6.6.21/net/ipv6/
Dip6_fib.c1035 if (rt->nh && !list_empty(&rt->nh_list)) in fib6_purge_rt()
1036 list_del_init(&rt->nh_list); in fib6_purge_rt()
1480 list_add(&rt->nh_list, &rt->nh->f6i_list); in fib6_add()