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