diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-02-15 12:12:01 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-02-15 12:12:01 +0000 |
commit | f1040b05b92c13eb81dd7128e5bc0e633dbcbb49 (patch) | |
tree | 4c4486b165156e3569553ed76b34ff63a2172a1c /src/ats | |
parent | 8d588e5424304b10915500d1098be94b4fd63d56 (diff) | |
download | gnunet-f1040b05b92c13eb81dd7128e5bc0e633dbcbb49.tar.gz gnunet-f1040b05b92c13eb81dd7128e5bc0e633dbcbb49.zip |
docu
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index ee6f28770..8d9f91a94 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -105,9 +105,21 @@ | |||
105 | * kept. If session == 0, the addresses is removed. | 105 | * kept. If session == 0, the addresses is removed. |
106 | * | 106 | * |
107 | * -- Requesting an address suggestion | 107 | * -- Requesting an address suggestion |
108 | * FIXME | 108 | * The address client issues a request address message to be notified about |
109 | * address suggestions for a specific peer. Addresses asks the solver with s_get. | ||
110 | * If no address is available, it will not send a response, otherwise it will | ||
111 | * respond with the choosen address. | ||
109 | * | 112 | * |
110 | * - Address suggestions: | 113 | * -- Address suggestions |
114 | * Addresses will notify the client automatically on any bandwidth_changed_cb | ||
115 | * by the solver if a address suggestion request is pending. If no address is | ||
116 | * available it will not respond at all If the client is not interested anymore, | ||
117 | * it has to cancel the address suggestion request. | ||
118 | * | ||
119 | * -- Suggestions blocks and reset | ||
120 | * After suggesting an address it is blocked for ATS_BLOCKING_DELTA sec. to | ||
121 | * prevent the client from being thrashed. If the client requires immediately | ||
122 | * it can reset this block using GAS_addresses_handle_backoff_reset. | ||
111 | * | 123 | * |
112 | * - Bandwidth assignment | 124 | * - Bandwidth assignment |
113 | * | 125 | * |