Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/netdevsim/
Dfib.c482 nsim_fib6_rt_nh_find(const struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_find() argument
487 list_for_each_entry(fib6_rt_nh, &fib6_rt->nh_list, list) { in nsim_fib6_rt_nh_find()
495 static int nsim_fib6_rt_nh_add(struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_add() argument
506 list_add_tail(&fib6_rt_nh->list, &fib6_rt->nh_list); in nsim_fib6_rt_nh_add()
507 fib6_rt->nhs++; in nsim_fib6_rt_nh_add()
523 static void nsim_fib6_rt_nh_del(struct nsim_fib6_rt *fib6_rt, in nsim_fib6_rt_nh_del() argument
528 fib6_rt_nh = nsim_fib6_rt_nh_find(fib6_rt, rt); in nsim_fib6_rt_nh_del()
532 fib6_rt->nhs--; in nsim_fib6_rt_nh_del()
543 struct nsim_fib6_rt *fib6_rt; in nsim_fib6_rt_create() local
547 fib6_rt = kzalloc(sizeof(*fib6_rt), GFP_KERNEL); in nsim_fib6_rt_create()
[all …]