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

/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
370 struct xfrm_tmpl;
371 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t,
467 struct xfrm_tmpl { struct
549 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH];
596 int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
1088 __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
1095 __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
1102 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/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)))
/linux-master/net/xfrm/
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,
2017 /* distribution counting sort function for xfrm_state and xfrm_tmpl */
2072 /* Rule for xfrm_tmpl:
2081 const struct xfrm_tmpl *v = p;
2113 xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
2417 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol)
H A Dxfrm_policy.c2412 newp->xfrm_nr*sizeof(struct xfrm_tmpl));
2474 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i];
3339 xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
3363 xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start,
3753 struct xfrm_tmpl *tp[XFRM_MAX_DEPTH];
3754 struct xfrm_tmpl *stp[XFRM_MAX_DEPTH];
3755 struct xfrm_tmpl **tpp = tp;
4487 static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t)
H A Dxfrm_user.c1763 struct xfrm_tmpl *t = &xp->xfrm_vec[i];
2025 struct xfrm_tmpl *kp = &xp->xfrm_vec[i];
2745 struct xfrm_tmpl *t = &xp->xfrm_vec[i];
3424 struct xfrm_tmpl *xt, struct xfrm_policy *xp)
3465 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt,

Completed in 146 milliseconds