Searched refs:fib6_rt_nh (Results 1 – 1 of 1) sorted by relevance
415 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_find() local417 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()418 if (fib6_rt_nh->rt == rt) in nsim_fib6_rt_nh_find()419 return fib6_rt_nh; in nsim_fib6_rt_nh_find()428 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_add() local430 fib6_rt_nh = kzalloc(sizeof(*fib6_rt_nh), GFP_ATOMIC); in nsim_fib6_rt_nh_add()431 if (!fib6_rt_nh) in nsim_fib6_rt_nh_add()435 fib6_rt_nh->rt = rt; in nsim_fib6_rt_nh_add()436 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()445 struct nsim_fib6_rt_nh *fib6_rt_nh; in nsim_fib6_rt_nh_del() local[all …]