Lines Matching refs:rt
94 struct fib6_info *rt; member
481 const struct fib6_info *rt) in nsim_fib6_rt_nh_find() argument
486 if (fib6_rt_nh->rt == rt) in nsim_fib6_rt_nh_find()
494 struct fib6_info *rt) in nsim_fib6_rt_nh_add() argument
502 fib6_info_hold(rt); in nsim_fib6_rt_nh_add()
503 fib6_rt_nh->rt = rt; in nsim_fib6_rt_nh_add()
511 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release() argument
513 fib6_info_release(rt); in nsim_rt6_release()
516 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release() argument
522 const struct fib6_info *rt) in nsim_fib6_rt_nh_del() argument
526 fib6_rt_nh = nsim_fib6_rt_nh_find(fib6_rt, rt); in nsim_fib6_rt_nh_del()
532 nsim_rt6_release(fib6_rt_nh->rt); in nsim_fib6_rt_nh_del()
540 struct fib6_info *rt = rt_arr[0]; in nsim_fib6_rt_create() local
549 nsim_fib_rt_init(data, &fib6_rt->common, &rt->fib6_dst.addr, in nsim_fib6_rt_create()
550 sizeof(rt->fib6_dst.addr), rt->fib6_dst.plen, AF_INET6, in nsim_fib6_rt_create()
551 rt->fib6_table->tb6_id); in nsim_fib6_rt_create()
581 nsim_fib6_rt_nh_del(fib6_rt, iter->rt); in nsim_fib6_rt_destroy()
588 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup() argument
592 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &rt->fib6_dst.addr, in nsim_fib6_rt_lookup()
593 sizeof(rt->fib6_dst.addr), in nsim_fib6_rt_lookup()
594 rt->fib6_dst.plen, AF_INET6, in nsim_fib6_rt_lookup()
595 rt->fib6_table->tb6_id); in nsim_fib6_rt_lookup()
605 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_append() local
618 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_append()
669 fib6_info_hw_flags_set(net, fib6_rt_nh->rt, false, trap, false); in nsim_fib6_rt_hw_flags_set()
737 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_insert() local
755 fib6_rt_old = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_insert()
770 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_remove() local
779 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_remove()
800 struct fib6_info *rt = fen6_info->rt; in nsim_fib6_event_init() local
815 rt_arr[0] = rt; in nsim_fib6_event_init()
816 fib6_info_hold(rt); in nsim_fib6_event_init()
821 list_for_each_entry(iter, &rt->fib6_siblings, fib6_siblings) { in nsim_fib6_event_init()