Lines Matching refs:xfrm_dst

169 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr);
171 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2474 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
2478 struct xfrm_dst *xdst; in xfrm_alloc_dst()
2509 static void xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
2519 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst()
2543 struct xfrm_dst **bundle, in xfrm_bundle_create()
2553 struct xfrm_dst *xdst_prev = NULL; in xfrm_bundle_create()
2554 struct xfrm_dst *xdst0 = NULL; in xfrm_bundle_create()
2571 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); in xfrm_bundle_create()
2653 for (xdst_prev = xdst0; xdst_prev != (struct xfrm_dst *)dst; in xfrm_bundle_create()
2654 xdst_prev = (struct xfrm_dst *) xfrm_dst_child(&xdst_prev->u.dst)) { in xfrm_bundle_create()
2725 static struct xfrm_dst *
2732 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_resolve_and_create_bundle()
2733 struct xfrm_dst *xdst; in xfrm_resolve_and_create_bundle()
2754 xdst = (struct xfrm_dst *)dst; in xfrm_resolve_and_create_bundle()
2854 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xdst_queue_output()
2892 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2902 struct xfrm_dst *xdst; in xfrm_create_dummy_bundle()
2931 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0); in xfrm_create_dummy_bundle()
2951 static struct xfrm_dst *xfrm_bundle_lookup(struct net *net, in xfrm_bundle_lookup()
2958 struct xfrm_dst *xdst; in xfrm_bundle_lookup()
3046 struct xfrm_dst *xdst; in xfrm_lookup_with_ifid()
3775 return !xfrm_bundle_ok((struct xfrm_dst *)dst); in stale_bundle()
3804 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr) in xfrm_init_pmtu()
3807 struct xfrm_dst *xdst = bundle[nr]; in xfrm_init_pmtu()
3831 static int xfrm_bundle_ok(struct xfrm_dst *first) in xfrm_bundle_ok()
3833 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_bundle_ok()
3835 struct xfrm_dst *xdst; in xfrm_bundle_ok()
3839 if (!dst_check(xfrm_dst_path(dst), ((struct xfrm_dst *)dst)->path_cookie) || in xfrm_bundle_ok()
3848 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_bundle_ok()
4056 sizeof(struct xfrm_dst), in xfrm_policy_init()