diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-30 11:41:26 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-30 11:41:26 +0000 |
commit | 3df2832fdf4bd38c1c766fe1b3f2a97c9fe1fe4d (patch) | |
tree | b34ba8ceabb3b0b709148daf634eb94e8123db4f /src/ats/ats.h | |
parent | 75bb2cabda18a4105f518fcebf7fe95dde3132d6 (diff) | |
download | gnunet-3df2832fdf4bd38c1c766fe1b3f2a97c9fe1fe4d.tar.gz gnunet-3df2832fdf4bd38c1c766fe1b3f2a97c9fe1fe4d.zip |
updated experimentation tests
added scope time for feedback api
Diffstat (limited to 'src/ats/ats.h')
-rw-r--r-- | src/ats/ats.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/ats/ats.h b/src/ats/ats.h index d202ddc24..4f8ab1b81 100644 --- a/src/ats/ats.h +++ b/src/ats/ats.h | |||
@@ -262,15 +262,30 @@ struct ChangePreferenceMessage | |||
262 | * struct PreferenceInformation values */ | 262 | * struct PreferenceInformation values */ |
263 | }; | 263 | }; |
264 | 264 | ||
265 | |||
266 | /** | ||
267 | * Message containing application feedback for a peer | ||
268 | */ | ||
265 | struct FeedbackPreferenceMessage | 269 | struct FeedbackPreferenceMessage |
266 | { | 270 | { |
267 | struct GNUNET_MessageHeader header; | 271 | struct GNUNET_MessageHeader header; |
268 | 272 | ||
269 | uint32_t num_preferences GNUNET_PACKED; | 273 | /** |
274 | * Number of feedback values included | ||
275 | */ | ||
276 | uint32_t num_feedback GNUNET_PACKED; | ||
270 | 277 | ||
278 | /** | ||
279 | * Relative time describing for which time interval this feedback is | ||
280 | */ | ||
281 | struct GNUNET_TIME_RelativeNBO scope; | ||
282 | |||
283 | /** | ||
284 | * Peer this feedback is for | ||
285 | */ | ||
271 | struct GNUNET_PeerIdentity peer; | 286 | struct GNUNET_PeerIdentity peer; |
272 | 287 | ||
273 | /* followed by 'num_preferences' | 288 | /* followed by 'num_feedback' |
274 | * struct PreferenceInformation values */ | 289 | * struct PreferenceInformation values */ |
275 | }; | 290 | }; |
276 | 291 | ||