Lines Matching refs:fen_info
107 struct fib_entry_notifier_info fen_info; member
276 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_create() argument
284 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()
285 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create()
287 fib4_rt->fi = fen_info->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()
304 const struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_lookup() argument
308 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup()
309 fen_info->dst_len, AF_INET, in nsim_fib4_rt_lookup()
310 fen_info->tb_id); in nsim_fib4_rt_lookup()
319 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_offload_failed_flag_set() argument
321 u32 *p_dst = (u32 *)&fen_info->dst; in nsim_fib4_rt_offload_failed_flag_set()
324 fri.fi = fen_info->fi; in nsim_fib4_rt_offload_failed_flag_set()
325 fri.tb_id = fen_info->tb_id; in nsim_fib4_rt_offload_failed_flag_set()
327 fri.dst_len = fen_info->dst_len; in nsim_fib4_rt_offload_failed_flag_set()
328 fri.dscp = fen_info->dscp; in nsim_fib4_rt_offload_failed_flag_set()
329 fri.type = fen_info->type; in nsim_fib4_rt_offload_failed_flag_set()
412 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_insert() argument
426 fib4_rt = nsim_fib4_rt_create(data, fen_info); in nsim_fib4_rt_insert()
430 fib4_rt_old = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_insert()
443 const struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_remove() argument
447 fib4_rt = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_remove()
457 struct fib_entry_notifier_info *fen_info, in nsim_fib4_event() argument
464 err = nsim_fib4_rt_insert(data, fen_info); in nsim_fib4_event()
468 nsim_fib4_rt_offload_failed_flag_set(net, fen_info); in nsim_fib4_event()
472 nsim_fib4_rt_remove(data, fen_info); in nsim_fib4_event()
884 nsim_fib4_event(fib_event->data, &fib_event->fen_info, in nsim_fib_event()
886 fib_info_put(fib_event->fen_info.fi); in nsim_fib_event()
901 struct fib_entry_notifier_info *fen_info; in nsim_fib4_prepare_event() local
905 fen_info = container_of(info, struct fib_entry_notifier_info, in nsim_fib4_prepare_event()
907 fib_event->fen_info = *fen_info; in nsim_fib4_prepare_event()
930 fib_info_hold(fib_event->fen_info.fi); in nsim_fib4_prepare_event()