diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-25 08:24:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-25 08:24:22 +0000 |
commit | ca7daa5556bce347ce55933a831a8a402231ae48 (patch) | |
tree | 9f38a3f80d82592f2ba1d7c51ffadbaf6df9d923 /src/ats | |
parent | ed4cce1a7ecb77d3ea2bbfab964bc10ff210b93f (diff) | |
download | gnunet-ca7daa5556bce347ce55933a831a8a402231ae48.tar.gz gnunet-ca7daa5556bce347ce55933a831a8a402231ae48.zip |
docu for address selection
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/plugin_ats_proportional.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c index 2fda9fe13..9cf637114 100644 --- a/src/ats/plugin_ats_proportional.c +++ b/src/ats/plugin_ats_proportional.c | |||
@@ -834,7 +834,13 @@ end: | |||
834 | 834 | ||
835 | 835 | ||
836 | /** | 836 | /** |
837 | * FIXME. | 837 | * Find the currently best address for a peer from the set of addresses available |
838 | * or return NULL of no address is available | ||
839 | * | ||
840 | * @param s the proportional handle | ||
841 | * @param addresses the address hashmap | ||
842 | * @param id the peer id | ||
843 | * @return the address or NULL | ||
838 | */ | 844 | */ |
839 | struct ATS_Address * | 845 | struct ATS_Address * |
840 | get_best_address (struct GAS_PROPORTIONAL_Handle *s, | 846 | get_best_address (struct GAS_PROPORTIONAL_Handle *s, |