gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r17620 - in gnunet/src: include transport


From: gnunet
Subject: [GNUnet-SVN] r17620 - in gnunet/src: include transport
Date: Thu, 20 Oct 2011 11:05:44 +0200

Author: grothoff
Date: 2011-10-20 11:05:44 +0200 (Thu, 20 Oct 2011)
New Revision: 17620

Modified:
   gnunet/src/include/gnunet_constants.h
   gnunet/src/transport/transport.h
Log:
fix

Modified: gnunet/src/include/gnunet_constants.h
===================================================================
--- gnunet/src/include/gnunet_constants.h       2011-10-19 20:07:51 UTC (rev 
17619)
+++ gnunet/src/include/gnunet_constants.h       2011-10-20 09:05:44 UTC (rev 
17620)
@@ -98,6 +98,13 @@
 #define GNUNET_CONSTANTS_IDLE_LOAD_THRESHOLD 70
 
 /**
+ * For how long do we allow unused bandwidth
+ * from the past to carry over into the future? (in seconds)
+ */
+#define GNUNET_CONSTANTS_MAX_BANDWIDTH_CARRY_S 5
+
+
+/**
  * After how long do we expire an address in a HELLO that we just
  * validated?  This value is also used for our own addresses when we
  * create a HELLO.

Modified: gnunet/src/transport/transport.h
===================================================================
--- gnunet/src/transport/transport.h    2011-10-19 20:07:51 UTC (rev 17619)
+++ gnunet/src/transport/transport.h    2011-10-20 09:05:44 UTC (rev 17620)
@@ -29,6 +29,7 @@
 #include "gnunet_crypto_lib.h"
 #include "gnunet_time_lib.h"
 #include "gnunet_transport_service.h"
+#include "gnunet_constants.h"
 
 #define DEBUG_TRANSPORT GNUNET_EXTRA_LOGGING
 
@@ -42,7 +43,7 @@
  * For how long do we allow unused bandwidth
  * from the past to carry over into the future? (in seconds)
  */
-#define MAX_BANDWIDTH_CARRY_S 5
+#define MAX_BANDWIDTH_CARRY_S GNUNET_CONSTANTS_MAX_BANDWIDTH_CARRY
 
 /**
  * How often do we (at most) do a full quota




reply via email to

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