Lines Matching refs:xdst
80 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
83 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
86 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
88 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
93 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
94 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
96 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
97 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
98 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
99 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
100 xdst->u.rt.rt_table_id = rt->rt_table_id; in xfrm4_fill_dst()
101 INIT_LIST_HEAD(&xdst->u.rt.rt_uncached); in xfrm4_fill_dst()
229 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_update_pmtu() local
230 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
238 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_redirect() local
239 struct dst_entry *path = xdst->route; in xfrm4_redirect()
246 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm4_dst_destroy() local
250 xfrm_dst_destroy(xdst); in xfrm4_dst_destroy()