From 27b5ffd6395be7cb0060658ddab7808664964be1 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 10 Aug 2010 16:25:54 +0000 Subject: [PATCH] message types for malicious control messages --- src/include/gnunet_protocols.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index e56fec625..841c8d663 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -570,6 +570,30 @@ extern "C" */ #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 */ -- 2.25.1