Lines Matching refs:ndst

1953 	struct dst_entry *ndst;  in vxlan6_get_route()  local
1963 ndst = dst_cache_get_ip6(dst_cache, saddr); in vxlan6_get_route()
1964 if (ndst) in vxlan6_get_route()
1965 return ndst; in vxlan6_get_route()
1980 &ndst, &fl6); in vxlan6_get_route()
1986 if (unlikely(ndst->dev == dev)) { in vxlan6_get_route()
1988 dst_release(ndst); in vxlan6_get_route()
1994 dst_cache_set_ip6(dst_cache, ndst, saddr); in vxlan6_get_route()
1995 return ndst; in vxlan6_get_route()
2094 struct dst_entry *ndst = NULL; in vxlan_xmit_one() local
2196 ndst = &rt->dst; in vxlan_xmit_one()
2197 skb_tunnel_check_pmtu(skb, ndst, VXLAN_HEADROOM); in vxlan_xmit_one()
2201 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), in vxlan_xmit_one()
2213 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
2218 if (IS_ERR(ndst)) { in vxlan_xmit_one()
2219 err = PTR_ERR(ndst); in vxlan_xmit_one()
2220 ndst = NULL; in vxlan_xmit_one()
2225 u32 rt6i_flags = ((struct rt6_info *)ndst)->rt6i_flags; in vxlan_xmit_one()
2229 ndst, rt6i_flags); in vxlan_xmit_one()
2234 skb_tunnel_check_pmtu(skb, ndst, VXLAN6_HEADROOM); in vxlan_xmit_one()
2237 ttl = ttl ? : ip6_dst_hoplimit(ndst); in vxlan_xmit_one()
2239 err = vxlan_build_skb(skb, ndst, sizeof(struct ipv6hdr), in vxlan_xmit_one()
2244 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
2265 dst_release(ndst); in vxlan_xmit_one()
2577 struct dst_entry *ndst; in vxlan_fill_metadata_dst() local
2579 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()
2583 if (IS_ERR(ndst)) in vxlan_fill_metadata_dst()
2584 return PTR_ERR(ndst); in vxlan_fill_metadata_dst()
2585 dst_release(ndst); in vxlan_fill_metadata_dst()