Lines Matching refs:xfrm_dst
55 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1530 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get()
1553 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check()
1566 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete()
1578 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
1582 struct xfrm_dst *xdst; in xfrm_alloc_dst()
1614 static inline int xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
1631 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst()
1683 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); in xfrm_bundle_create()
1750 xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len); in xfrm_bundle_create()
1754 struct xfrm_dst *xdst = (struct xfrm_dst *)dst_prev; in xfrm_bundle_create()
1797 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dst_update_parent()
1809 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dst_update_origin()
1860 static struct xfrm_dst *
1868 struct xfrm_dst *xdst; in xfrm_resolve_and_create_bundle()
1885 xdst = (struct xfrm_dst *)dst; in xfrm_resolve_and_create_bundle()
1984 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xdst_queue_output()
2022 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2032 struct xfrm_dst *xdst; in xfrm_create_dummy_bundle()
2061 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0); in xfrm_create_dummy_bundle()
2087 struct xfrm_dst *xdst, *new_xdst; in xfrm_bundle_lookup()
2093 xdst = container_of(oldflo, struct xfrm_dst, flo); in xfrm_bundle_lookup()
2211 struct xfrm_dst *xdst; in xfrm_lookup()
2274 xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_lookup()
2678 return !xfrm_bundle_ok((struct xfrm_dst *)dst); in stale_bundle()
2721 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_init_pmtu()
2743 static int xfrm_bundle_ok(struct xfrm_dst *first) in xfrm_bundle_ok()
2746 struct xfrm_dst *last; in xfrm_bundle_ok()
2749 if (!dst_check(dst->path, ((struct xfrm_dst *)dst)->path_cookie) || in xfrm_bundle_ok()
2759 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_bundle_ok()
2801 last = (struct xfrm_dst *)last->u.dst.next; in xfrm_bundle_ok()
2945 sizeof(struct xfrm_dst), in xfrm_policy_init()