aboutsummaryrefslogtreecommitdiff
path: root/src/dv/dv.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-06-17 15:27:19 +0000
committerNathan S. Evans <evans@in.tum.de>2010-06-17 15:27:19 +0000
commit344da83a5a06b4b4db4eb68972ee49333369f2db (patch)
tree9463373acc8f042ab2e05d27746dba6c0566bced /src/dv/dv.h
parent3084c1f3deba86b52b1e01fefbcf7474fe0f5d1c (diff)
downloadgnunet-344da83a5a06b4b4db4eb68972ee49333369f2db.tar.gz
gnunet-344da83a5a06b4b4db4eb68972ee49333369f2db.zip
working distance vector transport plugin implementation. after spending days on it I think the problem (not all peers connect all the time) either lies in core, or is related to latency
Diffstat (limited to 'src/dv/dv.h')
-rw-r--r--src/dv/dv.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/dv/dv.h b/src/dv/dv.h
index 21350b28c..41634e4eb 100644
--- a/src/dv/dv.h
+++ b/src/dv/dv.h
@@ -29,10 +29,12 @@
29#include "gnunet_common.h" 29#include "gnunet_common.h"
30 30
31#define DEBUG_DV_GOSSIP GNUNET_NO 31#define DEBUG_DV_GOSSIP GNUNET_NO
32#define DEBUG_DV_GOSSIP_SEND GNUNET_YES 32#define DEBUG_DV_GOSSIP_SEND GNUNET_NO
33#define DEBUG_DV_GOSSIP_RECEIPT GNUNET_YES 33#define DEBUG_DV_GOSSIP_RECEIPT GNUNET_NO
34#define DEBUG_DV_MESSAGES GNUNET_NO
34#define DEBUG_DV GNUNET_NO 35#define DEBUG_DV GNUNET_NO
35#define DEBUG_DV_API GNUNET_YES 36#define DEBUG_DV_PEER_NUMBERS GNUNET_NO
37#define DEBUG_MESSAGE_DROP GNUNET_YES
36 38
37typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls, 39typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls,
38 struct GNUNET_PeerIdentity *sender, 40 struct GNUNET_PeerIdentity *sender,
@@ -238,6 +240,13 @@ typedef struct
238 */ 240 */
239 unsigned int recipient GNUNET_PACKED; 241 unsigned int recipient GNUNET_PACKED;
240 242
243#if TRACK_MESSAGES
244 /**
245 * Unique ID for this message.
246 */
247 unsigned int uid GNUNET_PACKED;
248#endif
249
241} p2p_dv_MESSAGE_Data; 250} p2p_dv_MESSAGE_Data;
242 251
243/** 252/**