(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Oct 2010 12:02:17 +0000 (12:02 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Oct 2010 12:02:17 +0000 (12:02 +0000)
src/transport/transport_selection.h

index 249285ae1ca87e1cdc9f215f388ed059d4ef0d4d..951734b41487100275e89b40b20933cc36fb864c 100644 (file)
@@ -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 @@ enum GNUNET_ATS_Property
         * 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 @@ struct GNUNET_ATS_Information
        uint32_t value;
 };
 
-
+/* end of transport_selection.h */