Home
last modified time | relevance | path

Searched refs:XFRMA_MAX (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c100 static const struct nla_policy compat_policy[XFRMA_MAX+1] = {
282 BUILD_BUG_ON(XFRMA_MAX != XFRMA_MTIMER_THRESH); in xfrm_xlate64_attr()
355 struct nlattr *attrs[XFRMA_MAX + 1], in xfrm_user_rcv_calculate_len64()
436 if (type > XFRMA_MAX) { in xfrm_xlate32_attr()
437 BUILD_BUG_ON(XFRMA_MAX != XFRMA_MTIMER_THRESH); in xfrm_xlate32_attr()
441 type = array_index_nospec(type, XFRMA_MAX + 1); in xfrm_xlate32_attr()
465 struct nlattr *attrs[XFRMA_MAX+1], in xfrm_xlate32()
566 for (i = 1; i < XFRMA_MAX + 1; i++) { in xfrm_xlate32()
589 struct nlattr *attrs[XFRMA_MAX+1]; in xfrm_user_rcv_msg_compat()
606 maxtype ? : XFRMA_MAX, policy ? : compat_policy, extack); in xfrm_user_rcv_msg_compat()
H A Dxfrm_user.c1261 struct nlattr *attrs[XFRMA_MAX+1]; in xfrm_dump_sa()
1266 err = nlmsg_parse_deprecated(cb->nlh, 0, attrs, XFRMA_MAX, in xfrm_dump_sa()
3025 const struct nla_policy xfrma_policy[XFRMA_MAX+1] = {
3109 struct nlattr *attrs[XFRMA_MAX+1]; in xfrm_user_rcv_msg()
3159 link->nla_max ? : XFRMA_MAX, in xfrm_user_rcv_msg()
/openbmc/linux/include/uapi/linux/
H A Dxfrm.h320 #define XFRMA_MAX (__XFRMA_MAX - 1) macro
/openbmc/linux/include/net/
H A Dxfrm.h2116 extern const struct nla_policy xfrma_policy[XFRMA_MAX+1];