diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-19 14:09:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-19 14:09:50 +0000 |
commit | e79f6019ce2f082bd247e1d4fca950d0c7cb7b57 (patch) | |
tree | 73aeea23d0369416c746a69065c695d7ed023b9f /src/fs/gnunet-service-fs_pr.h | |
parent | 24bd0eabe9599e8c3da2f86aeed49ba53d52816a (diff) | |
download | gnunet-e79f6019ce2f082bd247e1d4fca950d0c7cb7b57.tar.gz gnunet-e79f6019ce2f082bd247e1d4fca950d0c7cb7b57.zip |
prevent loopback routing, add some statistics, faster re-transmit
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.h')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h index c8b52398e..538a38248 100644 --- a/src/fs/gnunet-service-fs_pr.h +++ b/src/fs/gnunet-service-fs_pr.h | |||
@@ -195,6 +195,7 @@ typedef void (*GSF_PendingRequestReplyHandler) (void *cls, | |||
195 | * @param ttl current time-to-live for the request | 195 | * @param ttl current time-to-live for the request |
196 | * @param sender_pid peer ID to use for the sender when forwarding, 0 for none; | 196 | * @param sender_pid peer ID to use for the sender when forwarding, 0 for none; |
197 | * reference counter is taken over by this function | 197 | * reference counter is taken over by this function |
198 | * @param origin_pid peer ID of origin of query (do not loop back) | ||
198 | * @param replies_seen hash codes of known local replies | 199 | * @param replies_seen hash codes of known local replies |
199 | * @param replies_seen_count size of the 'replies_seen' array | 200 | * @param replies_seen_count size of the 'replies_seen' array |
200 | * @param rh handle to call when we get a reply | 201 | * @param rh handle to call when we get a reply |
@@ -211,6 +212,7 @@ GSF_pending_request_create_ (enum GSF_PendingRequestOptions options, | |||
211 | uint32_t mingle, uint32_t anonymity_level, | 212 | uint32_t mingle, uint32_t anonymity_level, |
212 | uint32_t priority, int32_t ttl, | 213 | uint32_t priority, int32_t ttl, |
213 | GNUNET_PEER_Id sender_pid, | 214 | GNUNET_PEER_Id sender_pid, |
215 | GNUNET_PEER_Id origin_pid, | ||
214 | const GNUNET_HashCode * replies_seen, | 216 | const GNUNET_HashCode * replies_seen, |
215 | unsigned int replies_seen_count, | 217 | unsigned int replies_seen_count, |
216 | GSF_PendingRequestReplyHandler rh, void *rh_cls); | 218 | GSF_PendingRequestReplyHandler rh, void *rh_cls); |