Lines Matching refs:xfrm_dst

164 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr);
166 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2541 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
2545 struct xfrm_dst *xdst; in xfrm_alloc_dst()
2574 static void xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
2584 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst()
2608 struct xfrm_dst **bundle, in xfrm_bundle_create()
2618 struct xfrm_dst *xdst_prev = NULL; in xfrm_bundle_create()
2619 struct xfrm_dst *xdst0 = NULL; in xfrm_bundle_create()
2636 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); in xfrm_bundle_create()
2720 for (xdst_prev = xdst0; xdst_prev != (struct xfrm_dst *)dst; in xfrm_bundle_create()
2721 xdst_prev = (struct xfrm_dst *) xfrm_dst_child(&xdst_prev->u.dst)) { in xfrm_bundle_create()
2792 static struct xfrm_dst *
2799 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_resolve_and_create_bundle()
2800 struct xfrm_dst *xdst; in xfrm_resolve_and_create_bundle()
2821 xdst = (struct xfrm_dst *)dst; in xfrm_resolve_and_create_bundle()
2921 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xdst_queue_output()
2959 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2969 struct xfrm_dst *xdst; in xfrm_create_dummy_bundle()
2998 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0); in xfrm_create_dummy_bundle()
3018 static struct xfrm_dst *xfrm_bundle_lookup(struct net *net, in xfrm_bundle_lookup()
3025 struct xfrm_dst *xdst; in xfrm_bundle_lookup()
3113 struct xfrm_dst *xdst; in xfrm_lookup_with_ifid()
3825 return !xfrm_bundle_ok((struct xfrm_dst *)dst); in stale_bundle()
3854 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr) in xfrm_init_pmtu()
3857 struct xfrm_dst *xdst = bundle[nr]; in xfrm_init_pmtu()
3881 static int xfrm_bundle_ok(struct xfrm_dst *first) in xfrm_bundle_ok()
3883 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_bundle_ok()
3885 struct xfrm_dst *xdst; in xfrm_bundle_ok()
3889 if (!dst_check(xfrm_dst_path(dst), ((struct xfrm_dst *)dst)->path_cookie) || in xfrm_bundle_ok()
3898 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_bundle_ok()
4106 sizeof(struct xfrm_dst), in xfrm_policy_init()