Home
last modified time | relevance | path

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

/Linux-v5.10/net/core/
Drtnetlink.c142 static struct rtnl_link *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1]; variable
162 if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) in rtnl_get_link()
165 tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); in rtnl_get_link()
167 tab = rcu_dereference_rtnl(rtnl_msg_handlers[PF_UNSPEC]); in rtnl_get_link()
186 tab = rtnl_msg_handlers[protocol]; in rtnl_register_internal()
193 rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); in rtnl_register_internal()
296 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister()
327 tab = rtnl_msg_handlers[protocol]; in rtnl_unregister_all()
332 RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); in rtnl_unregister_all()
3767 tab = rcu_dereference_rtnl(rtnl_msg_handlers[idx]); in rtnl_dump_all()