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);
2548 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family)
2552 struct xfrm_dst *xdst;
2581 static void xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst,
2591 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev,
2615 struct xfrm_dst **bundle,
2625 struct xfrm_dst *xdst_prev = NULL;
2626 struct xfrm_dst *xdst0 = NULL;
2643 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family);
2729 for (xdst_prev = xdst0; xdst_prev != (struct xfrm_dst *)dst;
2730 xdst_prev = (struct xfrm_dst *) xfrm_dst_child(&xdst_prev->u.dst)) {
2801 static struct xfrm_dst *
2808 struct xfrm_dst *bundle[XFRM_MAX_DEPTH];
2809 struct xfrm_dst *xdst;
2830 xdst = (struct xfrm_dst *)dst;
2930 struct xfrm_dst *xdst = (struct xfrm_dst *) dst;
2968 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net,
2978 struct xfrm_dst *xdst;
3007 xfrm_init_path((struct xfrm_dst *)dst1, dst, 0);
3027 static struct xfrm_dst *xfrm_bundle_lookup(struct net *net,
3034 struct xfrm_dst *xdst;
3122 struct xfrm_dst *xdst;
3838 return !xfrm_bundle_ok((struct xfrm_dst *)dst);
3867 static void xfrm_init_pmtu(struct xfrm_dst **bundle, int nr)
3870 struct xfrm_dst *xdst = bundle[nr];
3894 static int xfrm_bundle_ok(struct xfrm_dst *first)
3896 struct xfrm_dst *bundle[XFRM_MAX_DEPTH];
3898 struct xfrm_dst *xdst;
3902 if (!dst_check(xfrm_dst_path(dst), ((struct xfrm_dst *)dst)->path_cookie) ||
3911 struct xfrm_dst *xdst = (struct xfrm_dst *)dst;
4119 sizeof(struct xfrm_dst),