diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-07 18:37:39 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-07 18:37:39 +0000 |
commit | bfe1a23a86253029afddd32e45b9802fabd48832 (patch) | |
tree | 0c5f018bc1bedeb87a49fb96379acb30db5ba4cb /src/ats/gnunet-ats-solver-eval.h | |
parent | 2db5c20edc405bcaa25214be3d92cb5d1913974b (diff) | |
download | gnunet-bfe1a23a86253029afddd32e45b9802fabd48832.tar.gz gnunet-bfe1a23a86253029afddd32e45b9802fabd48832.zip |
property generation
Diffstat (limited to 'src/ats/gnunet-ats-solver-eval.h')
-rw-r--r-- | src/ats/gnunet-ats-solver-eval.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.h b/src/ats/gnunet-ats-solver-eval.h index a14f1ea7f..007118dde 100644 --- a/src/ats/gnunet-ats-solver-eval.h +++ b/src/ats/gnunet-ats-solver-eval.h | |||
@@ -144,6 +144,28 @@ struct PreferenceGenerator | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | 146 | ||
147 | struct PropertyGenerator | ||
148 | { | ||
149 | struct PropertyGenerator *prev; | ||
150 | struct PropertyGenerator *next; | ||
151 | |||
152 | enum GeneratorType type; | ||
153 | |||
154 | unsigned int peer; | ||
155 | unsigned int address_id; | ||
156 | |||
157 | uint32_t ats_property; | ||
158 | |||
159 | long int base_value; | ||
160 | long int max_value; | ||
161 | struct GNUNET_TIME_Relative duration_period; | ||
162 | struct GNUNET_TIME_Relative frequency; | ||
163 | |||
164 | GNUNET_SCHEDULER_TaskIdentifier set_task; | ||
165 | struct GNUNET_TIME_Absolute next_ping_transmission; | ||
166 | struct GNUNET_TIME_Absolute time_start; | ||
167 | }; | ||
168 | |||
147 | 169 | ||
148 | /* LEGACY */ | 170 | /* LEGACY */ |
149 | 171 | ||