1SOCK_UNREGISTER(9)             Linux Networking             SOCK_UNREGISTER(9)
2
3
4

NAME

6       sock_unregister - remove a protocol handler
7

SYNOPSIS

9       void sock_unregister(int family);
10

ARGUMENTS

12       family
13           protocol family to remove
14

DESCRIPTION

16       This function is called by a protocol handler that wants to remove its
17       address family, and have it unlinked from the new socket creation.
18
19       If protocol handler is a module, then it can use module reference
20       counts to protect against new references. If protocol handler is not a
21       module then it needs to provide its own protection in the ops->create
22       routine.
23
25Kernel Hackers Manual 3.10         June 2019                SOCK_UNREGISTER(9)
Impressum