message types for malicious control messages
authorNathan S. Evans <evans@in.tum.de>
Tue, 10 Aug 2010 16:25:54 +0000 (16:25 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 10 Aug 2010 16:25:54 +0000 (16:25 +0000)
src/include/gnunet_protocols.h

index e56fec6253aaef638f493fc99f5e65b91136feff..841c8d663492c32c1522da06603ff52c83fbe221 100644 (file)
@@ -570,6 +570,30 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_DHT_P2P_PING 152
 
  */
 #define GNUNET_MESSAGE_TYPE_DHT_P2P_PING 152
 
+/**
+ * DHT Control message type, for telling the
+ * DHT to alter its current operation somehow.
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_CONTROL 153
+
+/**
+ * Local control message type, tells peer to start
+ * issuing malicious GET requests.
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_MALICIOUS_GET 154
+
+/**
+ * Local control message type, tells peer to start
+ * issuing malicious PUT requests.
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_MALICIOUS_PUT 155
+
+/**
+ * Local control message type, tells peer to start
+ * dropping all requests.
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_MALICIOUS_DROP  156
+
 /**
  * Hostlist advertisement message
  */
 /**
  * Hostlist advertisement message
  */