Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/netdevsim/
Dfib.c241 struct nsim_fib_rt *fib_rt, const void *addr, in nsim_fib_rt_init() argument
245 memcpy(fib_rt->key.addr, addr, addr_len); in nsim_fib_rt_init()
246 fib_rt->key.prefix_len = prefix_len; in nsim_fib_rt_init()
247 fib_rt->key.family = family; in nsim_fib_rt_init()
248 fib_rt->key.tb_id = tb_id; in nsim_fib_rt_init()
249 list_add(&fib_rt->list, &data->fib_rt_list); in nsim_fib_rt_init()
252 static void nsim_fib_rt_fini(struct nsim_fib_rt *fib_rt) in nsim_fib_rt_fini() argument
254 list_del(&fib_rt->list); in nsim_fib_rt_fini()
305 struct nsim_fib_rt *fib_rt; in nsim_fib4_rt_lookup() local
307 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup()
[all …]