Home
last modified time | relevance | path

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

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Drtnetlink.h25 RTM_BASE = 16, enumerator
26 #define RTM_BASE RTM_BASE macro
164 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
166 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Drtnetlink.h25 RTM_BASE = 16, enumerator
26 #define RTM_BASE RTM_BASE macro
164 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
166 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h25 RTM_BASE = 16, enumerator
26 #define RTM_BASE RTM_BASE macro
185 #define RTM_NR_MSGTYPES (RTM_MAX + 1 - RTM_BASE)
187 #define RTM_FAM(cmd) (((cmd) - RTM_BASE) >> 2)
/OK3568_Linux_fs/kernel/net/core/
H A Drtnetlink.c146 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()
3755 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()