]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/neighbour.h
[IPV4]: Always set fl.proto in ip_route_newports
[karo-tx-linux.git] / include / net / neighbour.h
index 89809891e5ab2e8e9430ccac31255d22ee364231..6fa9ae1907417f2a113c6509ee4031ce169c43e3 100644 (file)
@@ -49,8 +49,8 @@
 #ifdef __KERNEL__
 
 #include <asm/atomic.h>
-#include <linux/skbuff.h>
 #include <linux/netdevice.h>
+#include <linux/skbuff.h>
 #include <linux/rcupdate.h>
 #include <linux/seq_file.h>
 
@@ -363,7 +363,14 @@ __neigh_lookup_errno(struct neigh_table *tbl, const void *pkey,
        return neigh_create(tbl, pkey, dev);
 }
 
-#define LOCALLY_ENQUEUED -2
+struct neighbour_cb {
+       unsigned long sched_next;
+       unsigned int flags;
+};
+
+#define LOCALLY_ENQUEUED 0x1
+
+#define NEIGH_CB(skb)  ((struct neighbour_cb *)(skb)->cb)
 
 #endif
 #endif