aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-05 00:53:22 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-05 00:53:22 +0000
commit15dd8e6cc1199d611d804853e134882bf13b234a (patch)
tree7cc90886eabe8d0ffa397a319e12a87042d0ba28 /src/include/gnunet_ats_service.h
parentbf6a2c9deeff7a3b384eb029d8267d6099066df3 (diff)
downloadgnunet-15dd8e6cc1199d611d804853e134882bf13b234a.tar.gz
gnunet-15dd8e6cc1199d611d804853e134882bf13b234a.zip
Various changes:
- removed "in_use" from being passed to ATS, no longer needed as we tell ATS when we cannot follow a suggestion by removing the address; simplifies the code a lot - better handling of state machine, fallback to primary session if address switch to new session timed out - nicer logging - more comments - new testcase failures, because of #3652, #3651 and #3650 (or more that i missed).
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 88df7d0da..380a2a7af 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -481,18 +481,6 @@ GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh);
481 481
482 482
483/** 483/**
484 * We would like to reset the address suggestion block time for this
485 * peer.
486 *
487 * @param sh handle
488 * @param peer identity of the peer we want to reset
489 */
490void
491GNUNET_ATS_reset_backoff (struct GNUNET_ATS_SchedulingHandle *sh,
492 const struct GNUNET_PeerIdentity *peer);
493
494
495/**
496 * Test if a address and a session is known to ATS. 484 * Test if a address and a session is known to ATS.
497 * 485 *
498 * @param sh the scheduling handle 486 * @param sh the scheduling handle
@@ -582,18 +570,6 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar,
582 570
583 571
584/** 572/**
585 * An address is now in use, or not used any more.
586 *
587 * @param ar address record for which to toggle the flag
588 * @param in_use #GNUNET_YES if this address is now used, #GNUNET_NO
589 * if address is not used any more
590 */
591void
592GNUNET_ATS_address_set_in_use (struct GNUNET_ATS_AddressRecord *ar,
593 int in_use);
594
595
596/**
597 * An address got destroyed, stop using it as a valid address. 573 * An address got destroyed, stop using it as a valid address.
598 * 574 *
599 * @param ar address record to destroy, it's validation has 575 * @param ar address record to destroy, it's validation has