Searched refs:fib4_rt (Results 1 – 1 of 1) sorted by relevance
232 struct nsim_fib4_rt *fib4_rt; in nsim_fib4_rt_create() local234 fib4_rt = kzalloc(sizeof(*fib4_rt), GFP_ATOMIC); in nsim_fib4_rt_create()235 if (!fib4_rt) in nsim_fib4_rt_create()238 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()241 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()242 fib_info_hold(fib4_rt->fi); in nsim_fib4_rt_create()243 fib4_rt->tos = fen_info->tos; in nsim_fib4_rt_create()244 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()246 return fib4_rt; in nsim_fib4_rt_create()249 static void nsim_fib4_rt_destroy(struct nsim_fib4_rt *fib4_rt) in nsim_fib4_rt_destroy() argument[all …]