Home
last modified time | relevance | path

Searched refs:RTM_BASE (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/include/uapi/linux/
Drtnetlink.h25 RTM_BASE = 16, enumerator
26 #define RTM_BASE RTM_BASE macro
201 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
203 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
/linux-6.12.1/net/core/
Drtnetlink.c186 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()