summaryrefslogtreecommitdiffstats
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-03 01:01:51 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-05 02:21:55 -0700
commit1d248b1cf4e09dbec8cef5f7fbeda5874248bd09 (patch)
treee65714ecde4e590dbadb01e94bd2cdbe5f3789c8 /include/net/netevent.h
parentfccd7d5c77ff61d5283e7ce8242791d5f00dcc17 (diff)
downloadop-kernel-dev-1d248b1cf4e09dbec8cef5f7fbeda5874248bd09.zip
op-kernel-dev-1d248b1cf4e09dbec8cef5f7fbeda5874248bd09.tar.gz
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 086f8a5..3ce4988 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 {
OpenPOWER on IntegriCloud