From 476fca1558f5f50dd1b1856adf745dab0c47d827 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 1 Oct 2010 12:02:17 +0000 Subject: [PATCH] --- src/transport/transport_selection.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/transport/transport_selection.h b/src/transport/transport_selection.h index 249285ae1..951734b41 100644 --- a/src/transport/transport_selection.h +++ b/src/transport/transport_selection.h @@ -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 */ -- 2.25.1