RTM_BASE 114 include/linux/rtnetlink.h #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE) RTM_BASE 116 include/linux/rtnetlink.h #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2) RTM_BASE 94 net/core/rtnetlink.c int msgindex = msgtype - RTM_BASE; RTM_BASE 1213 net/core/rtnetlink.c int type = cb->nlh->nlmsg_type-RTM_BASE; RTM_BASE 1272 net/core/rtnetlink.c type -= RTM_BASE;