Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A Drtnetlink.h25 RTM_BASE = 16, enumerator
26 #define RTM_BASE RTM_BASE macro
192 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
194 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
/linux/net/core/
A Drtnetlink.c146 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()
3756 int type = cb->nlh->nlmsg_type - RTM_BASE; in rtnl_dump_all()
5489 type -= RTM_BASE; in rtnetlink_rcv_msg()
5517 if (type == RTM_GETLINK - RTM_BASE) in rtnetlink_rcv_msg()

Completed in 15 milliseconds