Searched refs:fib6_rt (Results 1 – 1 of 1) sorted by relevance
480 nsim_fib6_rt_nh_find(const struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_find() argument485 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()493 static int nsim_fib6_rt_nh_add(struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_add() argument504 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()505 fib6_rt->nhs++; in nsim_fib6_rt_nh_add()521 static void nsim_fib6_rt_nh_del(struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_del() argument526 fib6_rt_nh = nsim_fib6_rt_nh_find(fib6_rt, rt); in nsim_fib6_rt_nh_del()530 fib6_rt->nhs--; in nsim_fib6_rt_nh_del()541 struct nsim_fib6_rt *fib6_rt; in nsim_fib6_rt_create() local545 fib6_rt = kzalloc(sizeof(*fib6_rt), GFP_KERNEL); in nsim_fib6_rt_create()[all …]