Lines Matching refs:rt
89 int ip6_route_get_saddr(struct net *net, struct rt6_info *rt,
134 int rt6_dump_route(struct rt6_info *rt, void *p_arg);
160 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); in ipv6_unicast_destination() local
162 return rt->rt6i_flags & RTF_LOCAL; in ipv6_unicast_destination()
168 struct rt6_info *rt = (struct rt6_info *)dst; in ipv6_anycast_destination() local
170 return rt->rt6i_flags & RTF_ANYCAST || in ipv6_anycast_destination()
171 (rt->rt6i_dst.plen != 128 && in ipv6_anycast_destination()
172 ipv6_addr_equal(&rt->rt6i_dst.addr, daddr)); in ipv6_anycast_destination()
199 static inline struct in6_addr *rt6_nexthop(struct rt6_info *rt, in rt6_nexthop() argument
202 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
203 return &rt->rt6i_gateway; in rt6_nexthop()
204 else if (unlikely(rt->rt6i_flags & RTF_CACHE)) in rt6_nexthop()
205 return &rt->rt6i_dst.addr; in rt6_nexthop()