gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r22805 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r22805 - gnunet/src/include
Date: Fri, 20 Jul 2012 18:57:42 +0200

Author: bartpolot
Date: 2012-07-20 18:57:42 +0200 (Fri, 20 Jul 2012)
New Revision: 22805

Modified:
   gnunet/src/include/gnunet_mesh_service.h
   gnunet/src/include/gnunet_protocols.h
Log:
- oops forgot includes

Modified: gnunet/src/include/gnunet_mesh_service.h
===================================================================
--- gnunet/src/include/gnunet_mesh_service.h    2012-07-20 16:56:26 UTC (rev 
22804)
+++ gnunet/src/include/gnunet_mesh_service.h    2012-07-20 16:57:42 UTC (rev 
22805)
@@ -286,6 +286,17 @@
 
 
 /**
+ * Turn on/off the buffering status of the tunnel.
+ * 
+ * @param tunnel Tunnel affected.
+ * @param buffer GNUNET_YES to turn buffering on (default),
+ *               GNUNET_NO otherwise.
+ */
+void
+GNUNET_MESH_tunnel_buffer (struct GNUNET_MESH_Tunnel *tunnel, int buffer);
+
+
+/**
  * Request that a peer should be added to the tunnel.  The connect handler
  * will be called when the peer connects
  *

Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h       2012-07-20 16:56:26 UTC (rev 
22804)
+++ gnunet/src/include/gnunet_protocols.h       2012-07-20 16:57:42 UTC (rev 
22805)
@@ -791,11 +791,31 @@
 #define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY         266
 
 /**
- * We need flow control
+ * Set tunnel speed to slowest peer
  */
-#define GNUNET_MESSAGE_TYPE_MESH_SPEED_NOTIFY           270
+#define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_MIN             267
 
 /**
+ * Set tunnel speed to fastest peer
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_MAX             268
+
+/**
+ * Set tunnel buffering on.
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_BUFFER          269
+
+/**
+ * Set tunnel buffering off.
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_NOBUFFER        270
+
+/**
+ * ACK for a data packet.
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_ACK                    271
+
+/**
  * Connect to the mesh service, specifying subscriptions
  */
 #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT          272
@@ -856,6 +876,16 @@
 #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_MAX   283
 
 /**
+ * Set tunnel buffering on.
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_BUFFER   284
+
+/**
+ * Set tunnel buffering off.
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_NOBUFFER   285
+
+/**
  * 640kb should be enough for everybody
  */
 #define GNUNET_MESSAGE_TYPE_MESH_RESERVE_END            288




reply via email to

[Prev in Thread] Current Thread [Next in Thread]