Lines Matching refs:xfrm_dst
55 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1509 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get()
1532 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check()
1545 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete()
1557 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
1561 struct xfrm_dst *xdst; in xfrm_alloc_dst()
1595 static inline int xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
1612 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst()
1664 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); in xfrm_bundle_create()
1731 xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len); in xfrm_bundle_create()
1735 struct xfrm_dst *xdst = (struct xfrm_dst *)dst_prev; in xfrm_bundle_create()
1778 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dst_update_parent()
1790 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dst_update_origin()
1841 static struct xfrm_dst *
1849 struct xfrm_dst *xdst; in xfrm_resolve_and_create_bundle()
1866 xdst = (struct xfrm_dst *)dst; in xfrm_resolve_and_create_bundle()
1966 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xdst_queue_output()
2004 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2014 struct xfrm_dst *xdst; in xfrm_create_dummy_bundle()
2043 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0); in xfrm_create_dummy_bundle()
2069 struct xfrm_dst *xdst, *new_xdst; in xfrm_bundle_lookup()
2075 xdst = container_of(oldflo, struct xfrm_dst, flo); in xfrm_bundle_lookup()
2193 struct xfrm_dst *xdst; in xfrm_lookup()
2255 xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_lookup()
2658 return !xfrm_bundle_ok((struct xfrm_dst *)dst); in stale_bundle()
2701 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_init_pmtu()
2723 static int xfrm_bundle_ok(struct xfrm_dst *first) in xfrm_bundle_ok()
2726 struct xfrm_dst *last; in xfrm_bundle_ok()
2729 if (!dst_check(dst->path, ((struct xfrm_dst *)dst)->path_cookie) || in xfrm_bundle_ok()
2739 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_bundle_ok()
2781 last = (struct xfrm_dst *)last->u.dst.next; in xfrm_bundle_ok()
2925 sizeof(struct xfrm_dst), in xfrm_policy_init()