diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-05 00:53:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-05 00:53:22 +0000 |
commit | 15dd8e6cc1199d611d804853e134882bf13b234a (patch) | |
tree | 7cc90886eabe8d0ffa397a319e12a87042d0ba28 /src/transport/gnunet-service-transport_validation.h | |
parent | bf6a2c9deeff7a3b384eb029d8267d6099066df3 (diff) | |
download | gnunet-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/transport/gnunet-service-transport_validation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h index a14937022..f292c1df6 100644 --- a/src/transport/gnunet-service-transport_validation.h +++ b/src/transport/gnunet-service-transport_validation.h | |||
@@ -132,6 +132,15 @@ GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello); | |||
132 | 132 | ||
133 | 133 | ||
134 | /** | 134 | /** |
135 | * Validate an individual address. | ||
136 | * | ||
137 | * @param address address we should try to validate | ||
138 | */ | ||
139 | void | ||
140 | GST_validation_handle_address (const struct GNUNET_HELLO_Address *address); | ||
141 | |||
142 | |||
143 | /** | ||
135 | * Function called for each address (or address status change) that | 144 | * Function called for each address (or address status change) that |
136 | * the validation module is aware of (for the given target). | 145 | * the validation module is aware of (for the given target). |
137 | * | 146 | * |