1REGISTER_NETDEVICE_N(9) Network device support REGISTER_NETDEVICE_N(9)
2
3
4
6 register_netdevice_notifier - register a network notifier block
7
9 int register_netdevice_notifier(struct notifier_block * nb);
10
12 nb
13 notifier
14
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
26Kernel Hackers Manual 2.6. June 2019 REGISTER_NETDEVICE_N(9)