Lines Matching refs:xfrm_dst

58 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr);
60 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1495 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
1499 struct xfrm_dst *xdst; in xfrm_alloc_dst()
1530 static inline int xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
1547 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst()
1571 struct xfrm_dst **bundle, in xfrm_bundle_create()
1580 struct xfrm_dst *xdst_prev = NULL; in xfrm_bundle_create()
1581 struct xfrm_dst *xdst0 = NULL; in xfrm_bundle_create()
1598 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); in xfrm_bundle_create()
1671 for (xdst_prev = xdst0; xdst_prev != (struct xfrm_dst *)dst; in xfrm_bundle_create()
1672 xdst_prev = (struct xfrm_dst *) xfrm_dst_child(&xdst_prev->u.dst)) { in xfrm_bundle_create()
1740 static struct xfrm_dst *
1747 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_resolve_and_create_bundle()
1748 struct xfrm_dst *xdst; in xfrm_resolve_and_create_bundle()
1769 xdst = (struct xfrm_dst *)dst; in xfrm_resolve_and_create_bundle()
1858 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xdst_queue_output()
1896 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
1906 struct xfrm_dst *xdst; in xfrm_create_dummy_bundle()
1935 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0); in xfrm_create_dummy_bundle()
1955 static struct xfrm_dst *xfrm_bundle_lookup(struct net *net, in xfrm_bundle_lookup()
1962 struct xfrm_dst *xdst; in xfrm_bundle_lookup()
2050 struct xfrm_dst *xdst; in xfrm_lookup_with_ifid()
2542 return !xfrm_bundle_ok((struct xfrm_dst *)dst); in stale_bundle()
2571 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr) in xfrm_init_pmtu()
2574 struct xfrm_dst *xdst = bundle[nr]; in xfrm_init_pmtu()
2598 static int xfrm_bundle_ok(struct xfrm_dst *first) in xfrm_bundle_ok()
2600 struct xfrm_dst *bundle[XFRM_MAX_DEPTH]; in xfrm_bundle_ok()
2602 struct xfrm_dst *xdst; in xfrm_bundle_ok()
2606 if (!dst_check(xfrm_dst_path(dst), ((struct xfrm_dst *)dst)->path_cookie) || in xfrm_bundle_ok()
2615 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_bundle_ok()
2823 sizeof(struct xfrm_dst), in xfrm_policy_init()