Home
last modified time | relevance | path

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

/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c109 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
243 case XFRMA_ENCAP: in xfrm_xlate64_attr()
H A Dxfrm_user.c310 attrs[XFRMA_ENCAP] || in verify_newsa_info()
360 if (!attrs[XFRMA_ENCAP]) { in verify_newsa_info()
697 if (attrs[XFRMA_ENCAP]) { in xfrm_state_construct()
698 x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_state_construct()
1074 struct nlattr *nla = nla_reserve(skb, XFRMA_ENCAP, sizeof(*ep)); in copy_to_user_encap()
2850 if (attrs[XFRMA_ENCAP]) { in xfrm_do_migrate()
2851 encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_do_migrate()
2943 err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); in build_migrate()
3034 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },
/openbmc/linux/include/uapi/linux/
H A Dxfrm.h288 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator