Lines Matching defs:dst
101 /* Only conditionally release dst if flags indicates
102 * !RT6_LOOKUP_F_DST_NOREF or dst is in uncached_list.
215 const struct dst_entry *dst = skb_dst(skb);
218 if (dst)
219 rt6 = container_of(dst, struct rt6_info, dst);
227 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst,
233 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst);
234 sk_setup_caps(sk, dst);
241 void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst,
251 static inline bool ipv6_anycast_destination(const struct dst_entry *dst,
254 struct rt6_info *rt = (struct rt6_info *)dst;
318 static inline unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst)
323 if (dst_metric_locked(dst, RTAX_MTU)) {
324 mtu = dst_metric_raw(dst, RTAX_MTU);
331 idev = __in6_dev_get(dst->dev);
337 return mtu - lwtunnel_headroom(dst->lwtstate, mtu);