RTM_MAX
#define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
if (type > RTM_MAX)
BUILD_BUG_ON(RTM_MAX != (RTM_NEWTUNNEL + 3));