Merge branch 'master' of git://git.infradead.org/users/linville/wireless
[linux/fpc-iii.git] / include / net / netevent.h
blob086f8a5b59dc3782014f40edbb10be4d25f51d0a
1 #ifndef _NET_EVENT_H
2 #define _NET_EVENT_H
4 /*
5 * Generic netevent notifiers
7 * Authors:
8 * Tom Tucker <tom@opengridcomputing.com>
9 * Steve Wise <swise@opengridcomputing.com>
11 * Changes:
14 struct dst_entry;
16 struct netevent_redirect {
17 struct dst_entry *old;
18 struct dst_entry *new;
21 enum netevent_notif_type {
22 NETEVENT_NEIGH_UPDATE = 1, /* arg is struct neighbour ptr */
23 NETEVENT_REDIRECT, /* arg is struct netevent_redirect ptr */
26 extern int register_netevent_notifier(struct notifier_block *nb);
27 extern int unregister_netevent_notifier(struct notifier_block *nb);
28 extern int call_netevent_notifiers(unsigned long val, void *v);
30 #endif