Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/netdevsim/
Dfib.c277 struct nsim_fib4_rt *fib4_rt; in nsim_fib4_rt_create() local
279 fib4_rt = kzalloc(sizeof(*fib4_rt), GFP_KERNEL); in nsim_fib4_rt_create()
280 if (!fib4_rt) in nsim_fib4_rt_create()
283 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()
286 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()
287 fib_info_hold(fib4_rt->fi); in nsim_fib4_rt_create()
288 fib4_rt->dscp = fen_info->dscp; in nsim_fib4_rt_create()
289 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()
291 return fib4_rt; in nsim_fib4_rt_create()
294 static void nsim_fib4_rt_destroy(struct nsim_fib4_rt *fib4_rt) in nsim_fib4_rt_destroy() argument
[all …]