From: Nathan S. Evans Date: Tue, 10 Aug 2010 16:25:54 +0000 (+0000) Subject: message types for malicious control messages X-Git-Tag: initial-import-from-subversion-38251~20716 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=27b5ffd6395be7cb0060658ddab7808664964be1;p=oweals%2Fgnunet.git message types for malicious control messages --- 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 */