Home
last modified time | relevance | path

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

/linux-6.12.1/net/xfrm/
Dxfrm_compat.c101 [XFRMA_UNSPEC] = { .strict_start_type = XFRMA_SA_DIR },
133 [XFRMA_SA_DIR] = NLA_POLICY_RANGE(NLA_U8, XFRM_SA_DIR_IN, XFRM_SA_DIR_OUT),
283 case XFRMA_SA_DIR: in xfrm_xlate64_attr()
Dxfrm_user.c203 u8 sa_dir = attrs[XFRMA_SA_DIR] ? nla_get_u8(attrs[XFRMA_SA_DIR]) : 0; in verify_newsa_info()
837 if (attrs[XFRMA_SA_DIR]) in xfrm_state_construct()
838 x->dir = nla_get_u8(attrs[XFRMA_SA_DIR]); in xfrm_state_construct()
1300 ret = nla_put_u8(skb, XFRMA_SA_DIR, x->dir); in copy_to_user_state_extra()
1742 if (attrs[XFRMA_SA_DIR]) in xfrm_alloc_userspi()
1743 x->dir = nla_get_u8(attrs[XFRMA_SA_DIR]); in xfrm_alloc_userspi()
2587 err = nla_put_u8(skb, XFRMA_SA_DIR, x->dir); in build_aevent()
3151 [XFRMA_UNSPEC] = { .strict_start_type = XFRMA_SA_DIR },
3183 [XFRMA_SA_DIR] = NLA_POLICY_RANGE(NLA_U8, XFRM_SA_DIR_IN, XFRM_SA_DIR_OUT),
3236 if (attrs[XFRMA_SA_DIR]) { in xfrm_reject_unused_attr()
[all …]
/linux-6.12.1/include/uapi/linux/
Dxfrm.h323 XFRMA_SA_DIR, /* __u8 */ enumerator