Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Drtnetlink.c141 static struct rtnl_link *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1]; variable
161 if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) in rtnl_get_link()
164 tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); in rtnl_get_link()
166 tab = rcu_dereference_rtnl(rtnl_msg_handlers[PF_UNSPEC]); in rtnl_get_link()
185 tab = rtnl_msg_handlers[protocol]; in rtnl_register_internal()
192 rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); in rtnl_register_internal()
295 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister()
326 tab = rtnl_msg_handlers[protocol]; in rtnl_unregister_all()
331 RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); in rtnl_unregister_all()
3283 tab = rcu_dereference_rtnl(rtnl_msg_handlers[idx]); in rtnl_dump_all()