Home
last modified time | relevance | path

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

/net/core/
Dsock_diag.c18 static const struct sock_diag_handler *sock_diag_handlers[AF_MAX]; variable
137 hndl = sock_diag_handlers[sk->sk_family]; in sock_diag_broadcast_destroy_work()
188 if (sock_diag_handlers[hndl->family]) in sock_diag_register()
191 sock_diag_handlers[hndl->family] = hndl; in sock_diag_register()
206 BUG_ON(sock_diag_handlers[family] != hnld); in sock_diag_unregister()
207 sock_diag_handlers[family] = NULL; in sock_diag_unregister()
225 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
229 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
284 if (!sock_diag_handlers[AF_INET]) in sock_diag_bind()
289 if (!sock_diag_handlers[AF_INET6]) in sock_diag_bind()