dv message types
authorNathan S. Evans <evans@in.tum.de>
Fri, 12 Mar 2010 08:43:31 +0000 (08:43 +0000)
committerNathan S. Evans <evans@in.tum.de>
Fri, 12 Mar 2010 08:43:31 +0000 (08:43 +0000)
src/include/gnunet_protocols.h

index 5a6736a95b3b4c9f609f4b9637201eb8edc9831f..bd67db439406be5883fbbd2bdb5bc79cd8581c49 100644 (file)
@@ -226,6 +226,30 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 41
 
+/**
+ * DV service to DV Plugin message, when a message is
+ * unwrapped by the DV service and handed to the plugin
+ * for processing
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_RECEIVE 44
+
+/**
+ * DV Plugin to DV service message, indicating a message
+ * should be sent out.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_SEND 45
+
+/**
+ * P2P DV message encapsulating some real message
+ */
+#define GNUNET_MESSAGE_TYPE_DV_DATA 46
+
+/**
+ * P2P DV message gossipping peer information
+ */
+#define GNUNET_MESSAGE_TYPE_DV_GOSSIP 47
+
+
 /**
  * UDP NAT probe message, send from NAT'd peer to
  * other peer to negotiate punched address/port