Home
last modified time | relevance | path

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

/linux-5.19.10/net/core/
Dsock_diag.c19 static const struct sock_diag_handler *sock_diag_handlers[AF_MAX]; variable
139 hndl = sock_diag_handlers[sk->sk_family]; in sock_diag_broadcast_destroy_work()
190 if (sock_diag_handlers[hndl->family]) in sock_diag_register()
193 sock_diag_handlers[hndl->family] = hndl; in sock_diag_register()
208 BUG_ON(sock_diag_handlers[family] != hnld); in sock_diag_unregister()
209 sock_diag_handlers[family] = NULL; in sock_diag_unregister()
227 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
231 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
286 if (!sock_diag_handlers[AF_INET]) in sock_diag_bind()
291 if (!sock_diag_handlers[AF_INET6]) in sock_diag_bind()