diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
commit | c00ade9abf751ea2157f1f78dd834257fe19ed6c (patch) | |
tree | 0eebb88f356ba98fce52398dcea22a89011d7e6d /src/fs/gnunet-service-fs_pr.h | |
parent | 8f850cddd40436aa9f5a3ec82606dd5bceebef3d (diff) | |
download | gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.tar.gz gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.zip |
-passing total trust offered along (fixing #1369)
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.h')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h index ab088f88f..10bc5c1f3 100644 --- a/src/fs/gnunet-service-fs_pr.h +++ b/src/fs/gnunet-service-fs_pr.h | |||
@@ -133,6 +133,22 @@ struct GSF_PendingRequestData | |||
133 | uint32_t original_priority; | 133 | uint32_t original_priority; |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Counter for how often this request has been transmitted (estimate, | ||
137 | * because we might have the same request pending for multiple clients, | ||
138 | * and of course because a transmission may have failed at a lower | ||
139 | * layer). | ||
140 | */ | ||
141 | uint32_t num_transmissions; | ||
142 | |||
143 | /** | ||
144 | * How much respect did we (in total) offer for this request so far (estimate, | ||
145 | * because we might have the same request pending for multiple clients, | ||
146 | * and of course because a transmission may have failed at a lower | ||
147 | * layer). | ||
148 | */ | ||
149 | uint32_t respect_offered; | ||
150 | |||
151 | /** | ||
136 | * Options for the request. | 152 | * Options for the request. |
137 | */ | 153 | */ |
138 | enum GSF_PendingRequestOptions options; | 154 | enum GSF_PendingRequestOptions options; |