diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.h')
-rw-r--r-- | src/transport/gnunet-service-transport_ats.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_ats.h b/src/transport/gnunet-service-transport_ats.h index 780e66f60..bee38d0cd 100644 --- a/src/transport/gnunet-service-transport_ats.h +++ b/src/transport/gnunet-service-transport_ats.h | |||
@@ -67,8 +67,18 @@ GST_ats_block_address (const struct GNUNET_HELLO_Address *address, | |||
67 | struct Session *session); | 67 | struct Session *session); |
68 | 68 | ||
69 | 69 | ||
70 | /* FIXME: might want to add a function to reset the | 70 | /** |
71 | back-off from blocking */ | 71 | * Reset address blocking time. Resets the exponential |
72 | * back-off timer for this address to zero. Done when | ||
73 | * an address was used to create a successful connection. | ||
74 | * | ||
75 | * @param address the address to reset the blocking timer | ||
76 | * @param session the session (can be NULL) | ||
77 | */ | ||
78 | void | ||
79 | GST_ats_block_reset (const struct GNUNET_HELLO_Address *address, | ||
80 | struct Session *session); | ||
81 | |||
72 | 82 | ||
73 | /** | 83 | /** |
74 | * Notify ATS about the a new inbound address. We may already | 84 | * Notify ATS about the a new inbound address. We may already |