Lines Matching refs:rt
96 struct fib6_info *rt; member
483 const struct fib6_info *rt) in nsim_fib6_rt_nh_find() argument
488 if (fib6_rt_nh->rt == rt) in nsim_fib6_rt_nh_find()
496 struct fib6_info *rt) in nsim_fib6_rt_nh_add() argument
504 fib6_info_hold(rt); in nsim_fib6_rt_nh_add()
505 fib6_rt_nh->rt = rt; in nsim_fib6_rt_nh_add()
513 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release() argument
515 fib6_info_release(rt); in nsim_rt6_release()
518 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release() argument
524 const struct fib6_info *rt) in nsim_fib6_rt_nh_del() argument
528 fib6_rt_nh = nsim_fib6_rt_nh_find(fib6_rt, rt); in nsim_fib6_rt_nh_del()
534 nsim_rt6_release(fib6_rt_nh->rt); in nsim_fib6_rt_nh_del()
542 struct fib6_info *rt = rt_arr[0]; in nsim_fib6_rt_create() local
551 nsim_fib_rt_init(data, &fib6_rt->common, &rt->fib6_dst.addr, in nsim_fib6_rt_create()
552 sizeof(rt->fib6_dst.addr), rt->fib6_dst.plen, AF_INET6, in nsim_fib6_rt_create()
553 rt->fib6_table->tb6_id); in nsim_fib6_rt_create()
583 nsim_fib6_rt_nh_del(fib6_rt, iter->rt); in nsim_fib6_rt_destroy()
590 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup() argument
594 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &rt->fib6_dst.addr, in nsim_fib6_rt_lookup()
595 sizeof(rt->fib6_dst.addr), in nsim_fib6_rt_lookup()
596 rt->fib6_dst.plen, AF_INET6, in nsim_fib6_rt_lookup()
597 rt->fib6_table->tb6_id); in nsim_fib6_rt_lookup()
607 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_append() local
620 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_append()
671 fib6_info_hw_flags_set(net, fib6_rt_nh->rt, false, trap, false); in nsim_fib6_rt_hw_flags_set()
739 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_insert() local
757 fib6_rt_old = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_insert()
772 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_remove() local
781 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_remove()
802 struct fib6_info *rt = fen6_info->rt; in nsim_fib6_event_init() local
817 rt_arr[0] = rt; in nsim_fib6_event_init()
818 fib6_info_hold(rt); in nsim_fib6_event_init()
823 list_for_each_entry(iter, &rt->fib6_siblings, fib6_siblings) { in nsim_fib6_event_init()