diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:47:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:47:31 +0000 |
commit | 4b5e3086a0813daa6709ee7c0087ece6222bb022 (patch) | |
tree | 8ad7d9ad685542ba96f897a992f8c1fa15e0a2e0 /src/transport/gnunet-service-transport_neighbours.h | |
parent | 7abd5a10ab1121bade799ac3a9b4c770badbd1db (diff) | |
download | gnunet-4b5e3086a0813daa6709ee7c0087ece6222bb022.tar.gz gnunet-4b5e3086a0813daa6709ee7c0087ece6222bb022.zip |
process keepalive, simplify PONGs
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 14f223811..a99cd1e96 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -122,6 +122,16 @@ GST_neighbours_calculate_receive_delay (const struct GNUNET_PeerIdentity *sender | |||
122 | 122 | ||
123 | 123 | ||
124 | /** | 124 | /** |
125 | * Keep the connection to the given neighbour alive longer, | ||
126 | * we received a KEEPALIVE (or equivalent). | ||
127 | * | ||
128 | * @param neighbour neighbour to keep alive | ||
129 | */ | ||
130 | void | ||
131 | GST_neighbours_keepalive (const struct GNUNET_PeerIdentity *neighbour); | ||
132 | |||
133 | |||
134 | /** | ||
125 | * Change the incoming quota for the given peer. | 135 | * Change the incoming quota for the given peer. |
126 | * | 136 | * |
127 | * @param neighbour identity of peer to change qutoa for | 137 | * @param neighbour identity of peer to change qutoa for |