Home
last modified time | relevance | path

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

/linux-6.1.9/net/xfrm/
Dxfrm_compat.c108 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
242 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()
680 if (attrs[XFRMA_ENCAP]) { in xfrm_state_construct()
681 x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_state_construct()
1091 ret = nla_put(skb, XFRMA_ENCAP, sizeof(*x->encap), x->encap); in copy_to_user_state_extra()
2737 if (attrs[XFRMA_ENCAP]) { in xfrm_do_migrate()
2738 encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_do_migrate()
2829 err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); in build_migrate()
2920 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
/linux-6.1.9/include/uapi/linux/
Dxfrm.h288 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator