Searched refs:RTM_BASE (Results 1 – 2 of 2) sorted by relevance
25 RTM_BASE = 16, enumerator26 #define RTM_BASE RTM_BASE macro201 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)203 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
186 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()4045 int type = cb->nlh->nlmsg_type - RTM_BASE; in rtnl_dump_all()6584 type -= RTM_BASE; in rtnetlink_rcv_msg()6613 if (type == RTM_GETLINK - RTM_BASE) in rtnetlink_rcv_msg()