Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/netdevsim/
Dfib.c485 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_find() local
487 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()
488 if (fib6_rt_nh->rt == rt) in nsim_fib6_rt_nh_find()
489 return fib6_rt_nh; in nsim_fib6_rt_nh_find()
498 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_add() local
500 fib6_rt_nh = kzalloc(sizeof(*fib6_rt_nh), GFP_KERNEL); in nsim_fib6_rt_nh_add()
501 if (!fib6_rt_nh) in nsim_fib6_rt_nh_add()
505 fib6_rt_nh->rt = rt; in nsim_fib6_rt_nh_add()
506 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()
526 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_del() local
[all …]