Lines Matching refs:xdst
76 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
79 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
82 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
84 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
89 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
90 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
92 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
93 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
94 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
95 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
96 INIT_LIST_HEAD(&xdst->u.rt.rt_uncached); in xfrm4_fill_dst()
200 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_update_pmtu() local
201 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
209 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_redirect() local
210 struct dst_entry *path = xdst->route; in xfrm4_redirect()
217 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_dst_destroy() local
221 xfrm_dst_destroy(xdst); in xfrm4_dst_destroy()