Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dxfrm.h155 #define XFRM_MODE_MAX 5 macro
/openbmc/linux/net/xfrm/
H A Dxfrm_state.c455 static const struct xfrm_mode xfrm4_mode_map[XFRM_MODE_MAX] = {
472 static const struct xfrm_mode xfrm6_mode_map[XFRM_MODE_MAX] = {
497 if (unlikely(encap >= XFRM_MODE_MAX)) in xfrm_get_mode()
H A Dxfrm_user.c1826 if (ut[i].mode >= XFRM_MODE_MAX) { in validate_tmpl()
1827 …NL_SET_ERR_MSG(extack, "Mode in template must be < XFRM_MODE_MAX (" __stringify(XFRM_MODE_MAX) ")"… in validate_tmpl()