Lines Matching refs:dst
97 struct dst_entry dst; member
138 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev() argument
140 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev()
146 rt->dst.expires = 0; in rt6_clean_expires()
151 rt->dst.expires = expires; in rt6_set_expires()
160 rt = (struct rt6_info *)rt->dst.from); in rt6_update_expires()
162 rt0->dst.expires = rt->dst.expires; in rt6_update_expires()
164 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
171 (unlikely(rt->dst.flags & DST_NOCACHE) && rt->dst.from)) in rt6_get_cookie()
172 rt = (struct rt6_info *)(rt->dst.from); in rt6_get_cookie()
182 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
183 dst_release(&rt->dst); in ip6_rt_put()