Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dsock_diag.c19 static const struct sock_diag_handler *sock_diag_handlers[AF_MAX]; variable
142 hndl = sock_diag_handlers[sk->sk_family]; in sock_diag_broadcast_destroy_work()
193 if (sock_diag_handlers[hndl->family]) in sock_diag_register()
196 sock_diag_handlers[hndl->family] = hndl; in sock_diag_register()
211 BUG_ON(sock_diag_handlers[family] != hnld); in sock_diag_unregister()
212 sock_diag_handlers[family] = NULL; in sock_diag_unregister()
230 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
234 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
289 if (!sock_diag_handlers[AF_INET]) in sock_diag_bind()
294 if (!sock_diag_handlers[AF_INET6]) in sock_diag_bind()