aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing-traffic.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
commit6fd0a7efde08115b568b99b7755861a50f1b6c2e (patch)
treed8d712f0a5cafe18ddf8ff33296ff24b30beae7f /src/ats-tests/ats-testing-traffic.c
parent6a4c5ee6195fb7a6fcf90b1bae5ca36926e82023 (diff)
downloadgnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.tar.gz
gnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.zip
towards reviving priorities in core API, this time with enum to make classes clearer
Diffstat (limited to 'src/ats-tests/ats-testing-traffic.c')
-rw-r--r--src/ats-tests/ats-testing-traffic.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ats-tests/ats-testing-traffic.c b/src/ats-tests/ats-testing-traffic.c
index 9163d2cd1..ecee76816 100644
--- a/src/ats-tests/ats-testing-traffic.c
+++ b/src/ats-tests/ats-testing-traffic.c
@@ -104,7 +104,9 @@ comm_schedule_send (void *cls,
104 if (GNUNET_YES == top->test_core) 104 if (GNUNET_YES == top->test_core)
105 { 105 {
106 p->cth = GNUNET_CORE_notify_transmit_ready ( 106 p->cth = GNUNET_CORE_notify_transmit_ready (
107 p->me->ch, GNUNET_NO, 0, GNUNET_TIME_UNIT_MINUTES, &p->dest->id, 107 p->me->ch, GNUNET_NO,
108 GNUNET_CORE_PRIO_BEST_EFFORT,
109 GNUNET_TIME_UNIT_MINUTES, &p->dest->id,
108 TEST_MESSAGE_SIZE, &send_ping_ready_cb, p); 110 TEST_MESSAGE_SIZE, &send_ping_ready_cb, p);
109 } 111 }
110 else 112 else
@@ -159,9 +161,12 @@ GNUNET_ATS_TEST_traffic_handle_ping (struct BenchmarkPartner *p)
159 { 161 {
160 GNUNET_assert (NULL == p->cth); 162 GNUNET_assert (NULL == p->cth);
161 163
162 p->cth = GNUNET_CORE_notify_transmit_ready (p->me->ch, GNUNET_NO, 0, 164 p->cth
163 GNUNET_TIME_UNIT_MINUTES, &p->dest->id, TEST_MESSAGE_SIZE, 165 = GNUNET_CORE_notify_transmit_ready (p->me->ch, GNUNET_NO,
164 &comm_send_pong_ready, p); 166 GNUNET_CORE_PRIO_BEST_EFFORT,
167 GNUNET_TIME_UNIT_MINUTES,
168 &p->dest->id, TEST_MESSAGE_SIZE,
169 &comm_send_pong_ready, p);
165 } 170 }
166 else 171 else
167 { 172 {