gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13110 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r13110 - gnunet/src/transport
Date: Fri, 1 Oct 2010 14:02:18 +0200

Author: wachs
Date: 2010-10-01 14:02:17 +0200 (Fri, 01 Oct 2010)
New Revision: 13110

Modified:
   gnunet/src/transport/transport_selection.h
Log:


Modified: gnunet/src/transport/transport_selection.h
===================================================================
--- gnunet/src/transport/transport_selection.h  2010-10-01 09:10:48 UTC (rev 
13109)
+++ gnunet/src/transport/transport_selection.h  2010-10-01 12:02:17 UTC (rev 
13110)
@@ -46,6 +46,7 @@
  * To keep the elements ordered
  *    1..1024 : Values with a relation to cost
  * 1025..2048 : Values with a relation to quality
+ * 2049..3072 : Values with a relation to availability
  *
  */
 enum GNUNET_ATS_Property
@@ -300,7 +301,20 @@
         * Dialup:        4
         *
         */
-       GNUNET_ATS_QUALITY_NET_THROUGHPUT = 1033
+       GNUNET_ATS_QUALITY_NET_THROUGHPUT = 1033,
+
+       /* Availability related values */
+       /* =========================== */
+
+       /**
+        * Is a peer reachable?
+        */
+       GNUNET_ATS_AVAILABILITY_REACHABLE = 2048,
+
+       /**
+        * Is there a connection established to a peer using this transport
+        */
+       GNUNET_ATS_AVAILABILITY_CONNECTED = 2049
 };
 
 /**
@@ -321,4 +335,4 @@
        uint32_t value;
 };
 
-
+/* end of transport_selection.h */




reply via email to

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