Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dnexthop.c476 WARN_ON(!list_empty(&nhge->nh_list)); in nexthop_free_group()
1319 list_for_each_entry(f6i, &old->f6i_list, nh_list) { in fib6_check_nh_list()
1392 list_for_each_entry(fi, &old->fi_list, nh_list) { in fib_check_nh_list()
1777 list_del(&nhges[i].nh_list); in remove_nh_grp_entry()
1781 list_add(&new_nhges[j].nh_list, &new_nhges[j].nh->grp_list); in remove_nh_grp_entry()
1792 list_del(&nhge->nh_list); in remove_nh_grp_entry()
1814 list_for_each_entry_safe(nhge, tmp, &nh->grp_list, nh_list) in remove_nexthop_from_groups()
1833 list_del_init(&nhge->nh_list); in remove_nexthop_group()
1849 list_for_each_entry(fi, &nh->fi_list, nh_list) { in __remove_nexthop_fib()
1857 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()
1603 list_add(&fi->nh_list, &nh->fi_list); in fib_create_info()
/linux-6.1.9/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.1.9/drivers/net/vxlan/
Dvxlan_private.h38 struct list_head nh_list; member
Dvxlan_core.c780 INIT_LIST_HEAD(&f->nh_list); in vxlan_fdb_alloc()
844 list_del_rcu(&fdb->nh_list); in vxlan_fdb_nh_update()
848 list_add_tail_rcu(&fdb->nh_list, &nh->fdb_list); in vxlan_fdb_nh_update()
938 list_del_rcu(&f->nh_list); in vxlan_fdb_destroy()
4614 list_for_each_entry_rcu(fdb, &nh->fdb_list, nh_list) { in vxlan_fdb_nh_flush()
/linux-6.1.9/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.1.9/net/ipv6/
Dip6_fib.c1036 if (rt->nh && !list_empty(&rt->nh_list)) in fib6_purge_rt()
1037 list_del_init(&rt->nh_list); in fib6_purge_rt()
1481 list_add(&rt->nh_list, &rt->nh->f6i_list); in fib6_add()