From ce4b5dc202a1d6297980f9036308b83f59e93cc0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Jul 2010 08:41:09 +0000 Subject: [PATCH] student --- src/include/gnunet_protocols.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index e62abdb29..62a7c4d82 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -626,6 +626,37 @@ extern "C" */ + + +/* BELOW: experimental student-DHT protocol codes */ + +/** + * Request to join a CAN DHT + */ +#define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REQUEST 1174 + +/** + * Response to join request of a CAN DHT + */ +#define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REPLY 1175 + +/** + * Messages for swapping locations + */ +#define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_REQUEST 1180 + +#define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_RESULT 1181 + +#define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_REQUEST 1182 + +#define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_ACK 1183 + +/** + * Freenet hello message + */ +#define GNUNET_MESSAGE_TYPE_DHT_FREENET_HELLO 1184 + + #if 0 /* keep Emacsens' auto-indent happy */ { #endif -- 2.25.1