aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-ats-solver-eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-ats-solver-eval.c')
-rw-r--r--src/ats/gnunet-ats-solver-eval.c42
1 files changed, 24 insertions, 18 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c
index 7eb1638df..131781768 100644
--- a/src/ats/gnunet-ats-solver-eval.c
+++ b/src/ats/gnunet-ats-solver-eval.c
@@ -374,17 +374,20 @@ GNUNET_ATS_solver_generate_property_stop (struct PropertyGenerator *pg)
374 374
375 375
376/** 376/**
377 * Generate between the source master and the partner and set preferences with a 377 * Generate between the source master and the partner and set property with a
378 * value depending on the generator. 378 * value depending on the generator.
379 * 379 *
380 * @param src source 380 * @param peer source
381 * @param dest partner 381 * @param address_id partner
382 * @param type type of preferences to generate 382 * @param test_peer the peer
383 * @param base_rate traffic base rate to send data with 383 * @param test_address the address
384 * @param max_rate traffic maximum rate to send data with 384 * @param type type of generator
385 * @param period duration of a period of traffic generation (~ 1/frequency) 385 * @param base_value base value
386 * @param duration how long to generate traffic 386 * @param value_rate maximum value
387 * @return the traffic generator 387 * @param period duration of a period of generation (~ 1/frequency)
388 * @param frequency how long to generate property
389 * @param ats_property ATS property to generate
390 * @return the property generator
388 */ 391 */
389struct PropertyGenerator * 392struct PropertyGenerator *
390GNUNET_ATS_solver_generate_property_start (unsigned int peer, 393GNUNET_ATS_solver_generate_property_start (unsigned int peer,
@@ -614,17 +617,19 @@ GNUNET_ATS_solver_generate_preferences_stop (struct PreferenceGenerator *pg)
614 617
615 618
616/** 619/**
617 * Generate between the source master and the partner and set preferences with a 620 * Generate between the source master and the partner and set property with a
618 * value depending on the generator. 621 * value depending on the generator.
619 * 622 *
620 * @param src source 623 * @param peer source
621 * @param dest partner 624 * @param address_id partner
622 * @param type type of preferences to generate 625 * @param client_id the client
623 * @param base_rate traffic base rate to send data with 626 * @param type type of generator
624 * @param max_rate traffic maximum rate to send data with 627 * @param base_value base value
625 * @param period duration of a period of traffic generation (~ 1/frequency) 628 * @param value_rate maximum value
626 * @param duration how long to generate traffic 629 * @param period duration of a period of generation (~ 1/frequency)
627 * @return the traffic generator 630 * @param frequency how long to generate property
631 * @param kind ATS preference to generate
632 * @return the preference generator
628 */ 633 */
629struct PreferenceGenerator * 634struct PreferenceGenerator *
630GNUNET_ATS_solver_generate_preferences_start (unsigned int peer, 635GNUNET_ATS_solver_generate_preferences_start (unsigned int peer,
@@ -2253,6 +2258,7 @@ GNUNET_ATS_solvers_load_quotas (const struct GNUNET_CONFIGURATION_Handle *cfg,
2253/** 2258/**
2254 * Information callback for the solver 2259 * Information callback for the solver
2255 * 2260 *
2261 * @param cls the closure
2256 * @param op the solver operation 2262 * @param op the solver operation
2257 * @param stat status of the solver operation 2263 * @param stat status of the solver operation
2258 * @param add additional solver information 2264 * @param add additional solver information