Searched refs:xfrm_tmpl (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/include/net/ |
D | xfrm.h | 368 struct xfrm_tmpl; 369 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, 465 struct xfrm_tmpl { struct 547 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; 594 int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp); 1086 __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) in __xfrm4_state_addr_cmp() 1093 __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) in __xfrm6_state_addr_cmp() 1100 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() 1569 struct xfrm_tmpl *tmpl, 1609 void xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n, [all …]
|
/linux-6.6.21/net/key/ |
D | af_key.c | 1946 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest() 2030 const struct xfrm_tmpl *t; in pfkey_xfrm_policy2msg_size() 2156 const struct xfrm_tmpl *t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg() 2879 static inline int aalg_tmpl_set(const struct xfrm_tmpl *t, in aalg_tmpl_set() 2890 static inline int ealg_tmpl_set(const struct xfrm_tmpl *t, in ealg_tmpl_set() 2901 static int count_ah_combs(const struct xfrm_tmpl *t) in count_ah_combs() 2917 static int count_esp_combs(const struct xfrm_tmpl *t) in count_esp_combs() 2947 static int dump_ah_combs(struct sk_buff *skb, const struct xfrm_tmpl *t) in dump_ah_combs() 2985 static int dump_esp_combs(struct sk_buff *skb, const struct xfrm_tmpl *t) in dump_esp_combs() 3153 static int pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *xp) in pfkey_send_acquire()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | ipsec.c | 1374 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.6.21/net/xfrm/ |
D | xfrm_state.c | 220 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol); 940 const struct xfrm_tmpl *tmpl, in xfrm_init_tempstate() 1138 const struct flowi *fl, struct xfrm_tmpl *tmpl, in xfrm_state_find() 2068 const struct xfrm_tmpl *v = p; in __xfrm6_tmpl_sort_cmp() 2100 xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n, in xfrm_tmpl_sort() 2404 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol) in km_query()
|
D | xfrm_policy.c | 2396 newp->xfrm_nr*sizeof(struct xfrm_tmpl)); in clone_policy() 2458 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; in xfrm_tmpl_resolve_one() 3321 xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, in xfrm_state_ok() 3345 xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start, in xfrm_policy_ok() 3705 struct xfrm_tmpl *tp[XFRM_MAX_DEPTH]; in __xfrm_policy_check() 3706 struct xfrm_tmpl *stp[XFRM_MAX_DEPTH]; in __xfrm_policy_check() 3707 struct xfrm_tmpl **tpp = tp; in __xfrm_policy_check() 4397 static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t) in migrate_tmpl_match()
|
D | xfrm_user.c | 1763 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates() 2022 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl() 2742 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in xfrm_add_acquire() 3421 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire() 3462 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire()
|