[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8363 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8363 - GNUnet/src/include |
Date: |
Tue, 31 Mar 2009 16:39:56 -0600 |
Author: nevans
Date: 2009-03-31 16:39:56 -0600 (Tue, 31 Mar 2009)
New Revision: 8363
Modified:
GNUnet/src/include/dv.h
Log:
Modified: GNUnet/src/include/dv.h
===================================================================
--- GNUnet/src/include/dv.h 2009-03-31 20:33:26 UTC (rev 8362)
+++ GNUnet/src/include/dv.h 2009-03-31 22:39:56 UTC (rev 8363)
@@ -33,6 +33,8 @@
#define GNUNET_DV_MAX_COST -1
#define GNUNET_DV_MAX_TABLE_SIZE -1
#define GNUNET_DV_DEFAULT_SEND_INTERVAL 2000
+#define GNUNET_DV_PEER_EXPIRATION_TIME 60 * GNUNET_CRON_SECONDS
+#define GNUNET_DV_MAINTAIN_FREQUENCY 20 * GNUNET_CRON_SECONDS
/**
* Message that gets sent between nodes updating dv infos
@@ -103,6 +105,11 @@
* Cost to neighbor, used for actual distance vector computations
*/
unsigned int cost;
+
+ /**
+ * Last time we received routing information from this peer
+ */
+ GNUNET_CronTime last_activity;
};
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8363 - GNUnet/src/include,
gnunet <=