summaryrefslogtreecommitdiffstats
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-03 10:01:51 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-05 11:21:55 +0200
commit1d248b1cf4e09dbec8cef5f7fbeda5874248bd09 (patch)
treee65714ecde4e590dbadb01e94bd2cdbe5f3789c8 /include/net/netevent.h
parentdecnet: Use neighbours privately in dn_route struct. (diff)
downloadlinux-1d248b1cf4e09dbec8cef5f7fbeda5874248bd09.tar.xz
linux-1d248b1cf4e09dbec8cef5f7fbeda5874248bd09.zip
net: Pass neighbours and dest address into NETEVENT_REDIRECT events.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
-rw-r--r--include/net/netevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index 086f8a5b59dc..3ce4988c9c08 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -12,10 +12,14 @@
*/
struct dst_entry;
+struct neighbour;
struct netevent_redirect {
struct dst_entry *old;
+ struct neighbour *old_neigh;
struct dst_entry *new;
+ struct neighbour *new_neigh;
+ const void *daddr;
};
enum netevent_notif_type {