Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dxfrm.h283 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator
/Linux-v4.19/net/xfrm/
Dxfrm_user.c223 attrs[XFRMA_ENCAP] || in verify_newsa_info()
582 if (attrs[XFRMA_ENCAP]) { in xfrm_state_construct()
583 x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_state_construct()
911 ret = nla_put(skb, XFRMA_ENCAP, sizeof(*x->encap), x->encap); in copy_to_user_state_extra()
2373 if (attrs[XFRMA_ENCAP]) { in xfrm_do_migrate()
2374 encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]), in xfrm_do_migrate()
2462 err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); in build_migrate()
2550 [XFRMA_ENCAP] = { .len = sizeof(struct xfrm_encap_tmpl) },