Searched refs:xfrm_tmpl (Results 1 - 6 of 6) sorted by path

/linux-master/include/net/
H A Dxfrm.h68 - template to clone xfrm_state, struct xfrm_tmpl
80 described by templates xfrm_tmpl. Each template is resolved
371 struct xfrm_tmpl;
372 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t,
468 struct xfrm_tmpl { struct
550 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH];
597 int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
1092 __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
1099 __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
1106 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmp
[all...]
/linux-master/net/key/
H A Daf_key.c1946 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr;
2030 const struct xfrm_tmpl *t;
2156 const struct xfrm_tmpl *t = xp->xfrm_vec + i;
2879 static inline int aalg_tmpl_set(const struct xfrm_tmpl *t,
2890 static inline int ealg_tmpl_set(const struct xfrm_tmpl *t,
2901 static int count_ah_combs(const struct xfrm_tmpl *t)
2917 static int count_esp_combs(const struct xfrm_tmpl *t)
2947 static int dump_ah_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
2985 static int dump_esp_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
3153 static int pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *
[all...]
/linux-master/net/xfrm/
H A Dxfrm_policy.c2412 newp->xfrm_nr*sizeof(struct xfrm_tmpl));
2474 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i];
3344 xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
3368 xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start,
3760 struct xfrm_tmpl *tp[XFRM_MAX_DEPTH];
3761 struct xfrm_tmpl *stp[XFRM_MAX_DEPTH];
3762 struct xfrm_tmpl **tpp = tp;
4494 static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t)
H A Dxfrm_state.c220 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol);
940 const struct xfrm_tmpl *tmpl,
1138 const struct flowi *fl, struct xfrm_tmpl *tmpl,
2025 /* distribution counting sort function for xfrm_state and xfrm_tmpl */
2080 /* Rule for xfrm_tmpl:
2089 const struct xfrm_tmpl *v = p;
2121 xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
2425 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol)
H A Dxfrm_user.c1870 struct xfrm_tmpl *t = &xp->xfrm_vec[i];
2132 struct xfrm_tmpl *kp = &xp->xfrm_vec[i];
2859 struct xfrm_tmpl *t = &xp->xfrm_vec[i];
3574 struct xfrm_tmpl *xt, struct xfrm_policy *xp)
3615 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt,
/linux-master/tools/testing/selftests/net/
H A Dipsec.c1374 struct xfrm_user_tmpl xfrm_tmpl = {}; local
1392 xfrm_tmpl.family = AF_INET;
1393 xfrm_tmpl.id.proto = IPPROTO_ESP;
1394 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_TMPL, &xfrm_tmpl, sizeof(xfrm_tmpl)))

Completed in 248 milliseconds