Searched refs:XFRMA_ENCAP (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/include/uapi/linux/ |
D | xfrm.h | 283 XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ enumerator
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_user.c | 223 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) },
|