Lines Matching defs:rt0
906 struct fib6_info *rt0;
916 rt0 = rcu_dereference(fn->rr_ptr);
917 if (!rt0)
918 rt0 = leaf;
925 key_plen = rt0->fib6_dst.plen;
927 if (rt0->fib6_src.plen)
928 key_plen = rt0->fib6_src.plen;
933 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res);
935 struct fib6_info *next = rcu_dereference(rt0->fib6_next);
938 if (!next || next->fib6_metric != rt0->fib6_metric)
941 if (next != rt0) {
2865 static void rt6_update_expires(struct rt6_info *rt0, int timeout)
2867 if (!(rt0->rt6i_flags & RTF_EXPIRES)) {
2871 from = rcu_dereference(rt0->from);
2873 WRITE_ONCE(rt0->dst.expires, from->expires);
2877 dst_set_expires(&rt0->dst, timeout);
2878 rt0->rt6i_flags |= RTF_EXPIRES;