diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-01 12:02:17 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-01 12:02:17 +0000 |
commit | 476fca1558f5f50dd1b1856adf745dab0c47d827 (patch) | |
tree | 98c51de5b20edbe1e8af91c8466fd2aa7281f328 /src/transport | |
parent | 3a9f5341fb2bb13fbbc4be380522c7fba709a63d (diff) | |
download | gnunet-476fca1558f5f50dd1b1856adf745dab0c47d827.tar.gz gnunet-476fca1558f5f50dd1b1856adf745dab0c47d827.zip |
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/transport_selection.h | 18 |
1 files 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 @@ | |||
46 | * To keep the elements ordered | 46 | * To keep the elements ordered |
47 | * 1..1024 : Values with a relation to cost | 47 | * 1..1024 : Values with a relation to cost |
48 | * 1025..2048 : Values with a relation to quality | 48 | * 1025..2048 : Values with a relation to quality |
49 | * 2049..3072 : Values with a relation to availability | ||
49 | * | 50 | * |
50 | */ | 51 | */ |
51 | enum GNUNET_ATS_Property | 52 | enum GNUNET_ATS_Property |
@@ -300,7 +301,20 @@ enum GNUNET_ATS_Property | |||
300 | * Dialup: 4 | 301 | * Dialup: 4 |
301 | * | 302 | * |
302 | */ | 303 | */ |
303 | GNUNET_ATS_QUALITY_NET_THROUGHPUT = 1033 | 304 | GNUNET_ATS_QUALITY_NET_THROUGHPUT = 1033, |
305 | |||
306 | /* Availability related values */ | ||
307 | /* =========================== */ | ||
308 | |||
309 | /** | ||
310 | * Is a peer reachable? | ||
311 | */ | ||
312 | GNUNET_ATS_AVAILABILITY_REACHABLE = 2048, | ||
313 | |||
314 | /** | ||
315 | * Is there a connection established to a peer using this transport | ||
316 | */ | ||
317 | GNUNET_ATS_AVAILABILITY_CONNECTED = 2049 | ||
304 | }; | 318 | }; |
305 | 319 | ||
306 | /** | 320 | /** |
@@ -321,4 +335,4 @@ struct GNUNET_ATS_Information | |||
321 | uint32_t value; | 335 | uint32_t value; |
322 | }; | 336 | }; |
323 | 337 | ||
324 | 338 | /* end of transport_selection.h */ | |