gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r21847 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r21847 - gnunet/src/testing
Date: Sun, 10 Jun 2012 03:07:49 +0200

Author: grothoff
Date: 2012-06-10 03:07:49 +0200 (Sun, 10 Jun 2012)
New Revision: 21847

Modified:
   gnunet/src/testing/testing.c
Log:
-moving defines to top

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2012-06-10 01:06:56 UTC (rev 21846)
+++ gnunet/src/testing/testing.c        2012-06-10 01:07:49 UTC (rev 21847)
@@ -36,14 +36,28 @@
 #define LOG(kind,...)                                           \
   GNUNET_log_from (kind, "gnunettestingnew", __VA_ARGS__)
 
-
 /**
  * Size of a hostkey when written to a file
  */
 #define HOSTKEYFILESIZE 914
 
+/**
+ * Lowest port used for GNUnet testing.  Should be high enough to not
+ * conflict with other applications running on the hosts but be low
+ * enough to not conflict with client-ports (typically starting around
+ * 32k).
+ */
+#define LOW_PORT 12000
 
 /**
+ * Highest port used for GNUnet testing.  Should be low enough to not
+ * conflict with the port range for "local" ports (client apps; see
+ * /proc/sys/net/ipv4/ip_local_port_range on Linux for example).
+ */
+#define HIGH_PORT 56000
+
+
+/**
  * Handle for a system on which GNUnet peers are executed;
  * a system is used for reserving unique paths and ports.
  */
@@ -142,23 +156,6 @@
 
 
 /**
- * Lowest port used for GNUnet testing.  Should be high enough to not
- * conflict with other applications running on the hosts but be low
- * enough to not conflict with client-ports (typically starting around
- * 32k).
- */
-#define LOW_PORT 12000
-
-
-/**
- * Highest port used for GNUnet testing.  Should be low enough to not
- * conflict with the port range for "local" ports (client apps; see
- * /proc/sys/net/ipv4/ip_local_port_range on Linux for example).
- */
-#define HIGH_PORT 56000
-
-
-/**
  * Testing includes a number of pre-created hostkeys for faster peer
  * startup. This function loads such keys into memory from a file.
  *




reply via email to

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