Searched refs:fib6_rt_nh (Results 1 – 1 of 1) sorted by relevance
485 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_find() local488 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() local500 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()529 if (!fib6_rt_nh) in nsim_fib6_rt_nh_del()533 list_del(&fib6_rt_nh->list); in nsim_fib6_rt_nh_del()534 nsim_rt6_release(fib6_rt_nh->rt); in nsim_fib6_rt_nh_del()[all …]