summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-05 19:45:12 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-05 19:45:12 -0700
commitf8bae99ee5030625a4e7f0d87784191882292f0e (patch)
tree991cd2aff1ec1b74d1e3c658eb2ea09b0f93e5bd /net/batman-adv/packet.h
parent994635a137f637466d36a7c6272dae014a46a11c (diff)
parent44c4349a2a117b22a5c4087f2ac9faf10c575e17 (diff)
downloadtalos-obmc-linux-f8bae99ee5030625a4e7f0d87784191882292f0e.tar.gz
talos-obmc-linux-f8bae99ee5030625a4e7f0d87784191882292f0e.zip
Merge branch 'batman-adv/next' of git://git.open-mesh.org/linux-merge
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index c5f081dfc6d1..590e4a66089f 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -78,10 +78,13 @@ enum tt_query_flags {
TT_FULL_TABLE = 1 << 2
};
-/* TT_CHANGE flags */
-enum tt_change_flags {
- TT_CHANGE_DEL = 0x01,
- TT_CLIENT_ROAM = 0x02
+/* TT_CLIENT flags.
+ * Flags from 1 to 1 << 7 are sent on the wire, while flags from 1 << 8 to
+ * 1 << 15 are used for local computation only */
+enum tt_client_flags {
+ TT_CLIENT_DEL = 1 << 0,
+ TT_CLIENT_ROAM = 1 << 1,
+ TT_CLIENT_NOPURGE = 1 << 8
};
struct batman_packet {
OpenPOWER on IntegriCloud