1REGISTER_NETDEVICE_N(9)     Network device support     REGISTER_NETDEVICE_N(9)
2
3
4

NAME

6       register_netdevice_notifier_rh - register a network notifier block
7

SYNOPSIS

9       int register_netdevice_notifier_rh(struct notifier_block * nb);
10

ARGUMENTS

12       nb
13           notifier
14

DESCRIPTION

16       Register a notifier to be called when network device events occur. The
17       notifier passed is linked into the kernel structures and must not be
18       reused until it has been unregistered. A negative errno code is
19       returned on a failure.
20
21       When registered all registration and up events are replayed to the new
22       notifier to allow device to have a race free view of the network device
23       list.
24
25       NOTE THAT this function must be used for notifiers that takes pointer
26       to 'struct netdev_notifier_info' as 3rd parameter.
27
29Kernel Hackers Manual 3.10         June 2019           REGISTER_NETDEVICE_N(9)
Impressum