Linux Kernel
3.7.1
|
#include <linux/rtnetlink.h>
#include <linux/notifier.h>
#include <linux/export.h>
#include <net/netevent.h>
Go to the source code of this file.
call_netevent_notifiers - call all netevent notifier blocks : value passed unmodified to notifier function : pointer passed unmodified to notifier function
Call all neighbour notifier blocks. Parameters and return value are as for notifier_call_chain().
Definition at line 66 of file netevent.c.
EXPORT_SYMBOL_GPL | ( | register_netevent_notifier | ) |
EXPORT_SYMBOL_GPL | ( | unregister_netevent_notifier | ) |
EXPORT_SYMBOL_GPL | ( | call_netevent_notifiers | ) |
int register_netevent_notifier | ( | struct notifier_block * | nb | ) |
register_netevent_notifier - register a netevent notifier block : notifier
Register a notifier to be called when a netevent occurs. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.
Definition at line 32 of file netevent.c.
int unregister_netevent_notifier | ( | struct notifier_block * | nb | ) |
netevent_unregister_notifier - unregister a netevent notifier block : notifier
Unregister a notifier previously registered by register_neigh_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure.
Definition at line 51 of file netevent.c.