Lines Matching defs:msgtype
184 static inline int rtm_msgindex(int msgtype)
186 int msgindex = msgtype - RTM_BASE;
198 static struct rtnl_link *rtnl_get_link(int protocol, int msgtype)
209 return rcu_dereference_rtnl(tab[msgtype]);
213 int protocol, int msgtype,
223 msgindex = rtm_msgindex(msgtype);
257 WARN_ON(rtnl_msgtype_kind(msgtype) != RTNL_KIND_DEL &&
261 /* publish protocol:msgtype */
276 * @msgtype: rtnetlink message type
284 int protocol, int msgtype,
288 return rtnl_register_internal(owner, protocol, msgtype,
296 * @msgtype: rtnetlink message type
309 void rtnl_register(int protocol, int msgtype,
315 err = rtnl_register_internal(NULL, protocol, msgtype, doit, dumpit,
319 "protocol = %d, message type = %d\n", protocol, msgtype);
325 * @msgtype: rtnetlink message type
329 int rtnl_unregister(int protocol, int msgtype)
336 msgindex = rtm_msgindex(msgtype);