Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dinet_diag.c32 static const struct inet_diag_handler __rcu **inet_diag_table; variable
55 if (!READ_ONCE(inet_diag_table[proto])) in inet_diag_lock_handler()
59 handler = rcu_dereference(inet_diag_table[proto]); in inet_diag_lock_handler()
229 handler = rcu_dereference_protected(inet_diag_table[protocol], 1); in inet_sk_diag_fill()
1055 return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], in inet_diag_register()
1067 xchg((const struct inet_diag_handler **)&inet_diag_table[type], in inet_diag_unregister()
1083 inet_diag_table = kzalloc(inet_diag_table_size, GFP_KERNEL); in inet_diag_init()
1084 if (!inet_diag_table) in inet_diag_init()
1102 kfree(inet_diag_table); in inet_diag_init()
1111 kfree(inet_diag_table); in inet_diag_exit()