Searched refs:fib4_rt (Results 1 – 1 of 1) sorted by relevance
278 struct nsim_fib4_rt *fib4_rt; in nsim_fib4_rt_create() local280 fib4_rt = kzalloc(sizeof(*fib4_rt), GFP_KERNEL); in nsim_fib4_rt_create()281 if (!fib4_rt) in nsim_fib4_rt_create()284 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()287 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()288 fib_info_hold(fib4_rt->fi); in nsim_fib4_rt_create()289 fib4_rt->dscp = fen_info->dscp; in nsim_fib4_rt_create()290 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()292 return fib4_rt; in nsim_fib4_rt_create()295 static void nsim_fib4_rt_destroy(struct nsim_fib4_rt *fib4_rt) in nsim_fib4_rt_destroy() argument[all …]