Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dxfrm.h355 struct xfrm_tmpl;
356 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t,
452 struct xfrm_tmpl { struct
534 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH];
579 int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
1070 __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) in __xfrm4_state_addr_cmp()
1077 __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) in __xfrm6_state_addr_cmp()
1084 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp()
1521 struct xfrm_tmpl *tmpl,
1544 void xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
[all …]
/linux-6.1.9/net/key/
Daf_key.c1946 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()
2027 const struct xfrm_tmpl *t; in pfkey_xfrm_policy2msg_size()
2153 const struct xfrm_tmpl *t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg()
2876 static inline int aalg_tmpl_set(const struct xfrm_tmpl *t, in aalg_tmpl_set()
2887 static inline int ealg_tmpl_set(const struct xfrm_tmpl *t, in ealg_tmpl_set()
2898 static int count_ah_combs(const struct xfrm_tmpl *t) in count_ah_combs()
2914 static int count_esp_combs(const struct xfrm_tmpl *t) in count_esp_combs()
2944 static int dump_ah_combs(struct sk_buff *skb, const struct xfrm_tmpl *t) in dump_ah_combs()
2982 static int dump_esp_combs(struct sk_buff *skb, const struct xfrm_tmpl *t) in dump_esp_combs()
3150 static int pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *xp) in pfkey_send_acquire()
/linux-6.1.9/tools/testing/selftests/net/
Dipsec.c1374 struct xfrm_user_tmpl xfrm_tmpl = {}; in xfrm_monitor_acquire() local
1392 xfrm_tmpl.family = AF_INET; in xfrm_monitor_acquire()
1393 xfrm_tmpl.id.proto = IPPROTO_ESP; in xfrm_monitor_acquire()
1394 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_TMPL, &xfrm_tmpl, sizeof(xfrm_tmpl))) in xfrm_monitor_acquire()
/linux-6.1.9/net/xfrm/
Dxfrm_state.c199 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol);
917 const struct xfrm_tmpl *tmpl, in xfrm_init_tempstate()
1072 const struct flowi *fl, struct xfrm_tmpl *tmpl, in xfrm_state_find()
1917 const struct xfrm_tmpl *v = p; in __xfrm6_tmpl_sort_cmp()
1949 xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n, in xfrm_tmpl_sort()
2241 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol) in km_query()
Dxfrm_policy.c2314 newp->xfrm_nr*sizeof(struct xfrm_tmpl)); in clone_policy()
2376 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; in xfrm_tmpl_resolve_one()
3239 xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, in xfrm_state_ok()
3262 xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start, in xfrm_policy_ok()
3612 struct xfrm_tmpl *tp[XFRM_MAX_DEPTH]; in __xfrm_policy_check()
3613 struct xfrm_tmpl *stp[XFRM_MAX_DEPTH]; in __xfrm_policy_check()
3614 struct xfrm_tmpl **tpp = tp; in __xfrm_policy_check()
4305 static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t) in migrate_tmpl_match()
Dxfrm_user.c1690 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
1934 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl()
2642 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in xfrm_add_acquire()
3314 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire()
3353 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire()