Lines Matching refs:ndst
2277 struct dst_entry *ndst; in vxlan6_get_route() local
2287 ndst = dst_cache_get_ip6(dst_cache, saddr); in vxlan6_get_route()
2288 if (ndst) in vxlan6_get_route()
2289 return ndst; in vxlan6_get_route()
2304 &ndst, &fl6); in vxlan6_get_route()
2310 if (unlikely(ndst->dev == dev)) { in vxlan6_get_route()
2312 dst_release(ndst); in vxlan6_get_route()
2318 dst_cache_set_ip6(dst_cache, ndst, saddr); in vxlan6_get_route()
2319 return ndst; in vxlan6_get_route()
2426 struct dst_entry *ndst = NULL; in vxlan_xmit_one() local
2544 ndst = &rt->dst; in vxlan_xmit_one()
2545 skb_tunnel_check_pmtu(skb, ndst, VXLAN_HEADROOM); in vxlan_xmit_one()
2549 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), in vxlan_xmit_one()
2564 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
2569 if (IS_ERR(ndst)) { in vxlan_xmit_one()
2570 err = PTR_ERR(ndst); in vxlan_xmit_one()
2571 ndst = NULL; in vxlan_xmit_one()
2576 u32 rt6i_flags = ((struct rt6_info *)ndst)->rt6i_flags; in vxlan_xmit_one()
2580 ndst, rt6i_flags); in vxlan_xmit_one()
2585 skb_tunnel_check_pmtu(skb, ndst, VXLAN6_HEADROOM); in vxlan_xmit_one()
2588 ttl = ttl ? : ip6_dst_hoplimit(ndst); in vxlan_xmit_one()
2590 err = vxlan_build_skb(skb, ndst, sizeof(struct ipv6hdr), in vxlan_xmit_one()
2595 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
2616 dst_release(ndst); in vxlan_xmit_one()
2932 struct dst_entry *ndst; in vxlan_fill_metadata_dst() local
2934 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()
2938 if (IS_ERR(ndst)) in vxlan_fill_metadata_dst()
2939 return PTR_ERR(ndst); in vxlan_fill_metadata_dst()
2940 dst_release(ndst); in vxlan_fill_metadata_dst()