Home
last modified time | relevance | path

Searched refs:XFRMA_ENCAP (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/net/xfrm/
Dxfrm_compat.c109 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
243 case XFRMA_ENCAP: in xfrm_xlate64_attr()
Dxfrm_user.c306 attrs[XFRMA_ENCAP] || in verify_newsa_info()
356 if (!attrs[XFRMA_ENCAP]) { in verify_newsa_info()
693 if (attrs[XFRMA_ENCAP]) { in xfrm_state_construct()
694 x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_state_construct()
1068 struct nlattr *nla = nla_reserve(skb, XFRMA_ENCAP, sizeof(*ep)); in copy_to_user_encap()
2842 if (attrs[XFRMA_ENCAP]) { in xfrm_do_migrate()
2843 encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_do_migrate()
2935 err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); in build_migrate()
3026 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
/linux-6.6.21/include/uapi/linux/
Dxfrm.h288 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator