Lines Matching defs:rt6
1433 static bool rt6_is_valid(const struct rt6_info *rt6)
1435 return rt6->sernum == rt_genid_ipv6(dev_net(rt6->dst.dev));
1575 struct rt6_info *rt6 = rt6_ex->rt6i;
1576 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr);
1580 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr);
1610 struct rt6_info *rt6 = rt6_ex->rt6i;
1611 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr);
1615 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr);
2693 struct rt6_info *rt6;
2697 rt6 = dst_rt6_info(dst);
2699 if (list_empty(&rt6->dst.rt_uncached) && !dst_hold_safe(dst)) {
2901 struct rt6_info *rt6 = dst_rt6_info(dst);
2927 if (!rt6_cache_allowed_for_pmtu(rt6)) {
2928 rt6_do_update_pmtu(rt6, mtu);
2930 if (rt6->rt6i_flags & RTF_CACHE)
2931 rt6_update_exception_stamp_rt(rt6);
2937 res.f6i = rcu_dereference(rt6->from);
2947 .gw = &rt6->rt6i_gateway,
5752 struct rt6_info *rt6 = dst_rt6_info(dst);
5764 if (rt6) {
5765 rt6_dst = &rt6->rt6i_dst;
5766 rt6_src = &rt6->rt6i_src;
5767 rt6_flags = rt6->rt6i_flags;
5848 if (rt6) {
5852 nla_put_in6_addr(skb, RTA_GATEWAY, &rt6->rt6i_gateway))