Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dsock_diag.c18 static const struct sock_diag_handler *sock_diag_handlers[AF_MAX]; variable
136 hndl = sock_diag_handlers[sk->sk_family]; in sock_diag_broadcast_destroy_work()
187 if (sock_diag_handlers[hndl->family]) in sock_diag_register()
190 sock_diag_handlers[hndl->family] = hndl; in sock_diag_register()
205 BUG_ON(sock_diag_handlers[family] != hnld); in sock_diag_unregister()
206 sock_diag_handlers[family] = NULL; in sock_diag_unregister()
224 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
228 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
283 if (!sock_diag_handlers[AF_INET]) in sock_diag_bind()
288 if (!sock_diag_handlers[AF_INET6]) in sock_diag_bind()