Home
last modified time | relevance | path

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

/linux-4.1.27/net/core/
Drtnetlink.c110 int msgindex = msgtype - RTM_BASE; in rtm_msgindex() local
117 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES); in rtm_msgindex()
119 return msgindex; in rtm_msgindex()
122 static rtnl_doit_func rtnl_get_doit(int protocol, int msgindex) in rtnl_get_doit() argument
131 if (tab == NULL || tab[msgindex].doit == NULL) in rtnl_get_doit()
134 return tab[msgindex].doit; in rtnl_get_doit()
137 static rtnl_dumpit_func rtnl_get_dumpit(int protocol, int msgindex) in rtnl_get_dumpit() argument
146 if (tab == NULL || tab[msgindex].dumpit == NULL) in rtnl_get_dumpit()
149 return tab[msgindex].dumpit; in rtnl_get_dumpit()
152 static rtnl_calcit_func rtnl_get_calcit(int protocol, int msgindex) in rtnl_get_calcit() argument
[all …]