Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/net/ipv6/
Dip6_fib.c1038 if (rt->nh && !list_empty(&rt->nh_list)) in fib6_purge_rt()
1039 list_del_init(&rt->nh_list); in fib6_purge_rt()
1486 list_add(&rt->nh_list, &rt->nh->f6i_list); in fib6_add()