Home
last modified time | relevance | path

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

/linux-5.19.10/net/xfrm/
Dxfrm_compat.c108 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
242 case XFRMA_ENCAP: in xfrm_xlate64_attr()
Dxfrm_user.c245 attrs[XFRMA_ENCAP] || in verify_newsa_info()
287 if (!attrs[XFRMA_ENCAP]) in verify_newsa_info()
592 if (attrs[XFRMA_ENCAP]) { in xfrm_state_construct()
593 x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_state_construct()
1002 ret = nla_put(skb, XFRMA_ENCAP, sizeof(*x->encap), x->encap); in copy_to_user_state_extra()
2608 if (attrs[XFRMA_ENCAP]) { in xfrm_do_migrate()
2609 encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_do_migrate()
2700 err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); in build_migrate()
2791 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
/linux-5.19.10/include/uapi/linux/
Dxfrm.h288 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator