Searched refs:RTM_BASE (Results 1 – 2 of 2) sorted by relevance
24 RTM_BASE = 16, enumerator25 #define RTM_BASE RTM_BASE macro146 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)148 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
110 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()2367 int type = cb->nlh->nlmsg_type-RTM_BASE; in rtnl_dump_all()3212 type -= RTM_BASE; in rtnetlink_rcv_msg()