diff options
-rw-r--r-- | src/ats/gnunet-service-ats_addresses_mlp.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.h b/src/ats/gnunet-service-ats_addresses_mlp.h index 446fac3e9..df230704a 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.h +++ b/src/ats/gnunet-service-ats_addresses_mlp.h | |||
@@ -382,6 +382,9 @@ GAS_mlp_address_add (void *solver, | |||
382 | * If the address did not exist before in the problem: | 382 | * If the address did not exist before in the problem: |
383 | * The MLP problem has to be recreated and the problem has to be resolved | 383 | * The MLP problem has to be recreated and the problem has to be resolved |
384 | * | 384 | * |
385 | * ATS performance information in address are already updated, delta + previous | ||
386 | * values are included in atsi_prev (value GNUNET_ATS_VALUE_UNDEFINED if not existing before) | ||
387 | * | ||
385 | * Otherwise the addresses' values can be updated and the existing base can | 388 | * Otherwise the addresses' values can be updated and the existing base can |
386 | * be reused | 389 | * be reused |
387 | * | 390 | * |
@@ -390,8 +393,8 @@ GAS_mlp_address_add (void *solver, | |||
390 | * @param address the update address | 393 | * @param address the update address |
391 | * @param session the new session (if changed otherwise current) | 394 | * @param session the new session (if changed otherwise current) |
392 | * @param in_use the new address in use state (if changed otherwise current) | 395 | * @param in_use the new address in use state (if changed otherwise current) |
393 | * @param atsi the latest ATS information | 396 | * @param atsi_prev ATS information updated + previous values, GNUNET_ATS_VALUE_UNDEFINED if not existing before |
394 | * @param atsi_count the atsi count | 397 | * @param atsi_count_prev number of atsi values updated |
395 | */ | 398 | */ |
396 | void | 399 | void |
397 | GAS_mlp_address_update (void *solver, | 400 | GAS_mlp_address_update (void *solver, |
@@ -399,8 +402,8 @@ GAS_mlp_address_update (void *solver, | |||
399 | struct ATS_Address *address, | 402 | struct ATS_Address *address, |
400 | uint32_t session, | 403 | uint32_t session, |
401 | int in_use, | 404 | int in_use, |
402 | const struct GNUNET_ATS_Information *atsi, | 405 | const struct GNUNET_ATS_Information *atsi_prev, |
403 | uint32_t atsi_count); | 406 | uint32_t atsi_count_prev); |
404 | 407 | ||
405 | 408 | ||
406 | /** | 409 | /** |