aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-02 16:11:13 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-02 16:11:13 +0000
commitf3a2f0e7405a3e616968391c26be5fd1b995d623 (patch)
treeefc3cf7904c8957c1576f313a3ce9c87c4eb947a /src/transport
parent241337d755d60b81311dd9cca4b4a32e0fb01b35 (diff)
downloadgnunet-f3a2f0e7405a3e616968391c26be5fd1b995d623.tar.gz
gnunet-f3a2f0e7405a3e616968391c26be5fd1b995d623.zip
- minor
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_udp_new.h8
-rw-r--r--src/transport/test_transport_api.c5
2 files changed, 3 insertions, 10 deletions
diff --git a/src/transport/plugin_transport_udp_new.h b/src/transport/plugin_transport_udp_new.h
index ec943c11b..d3eb192a1 100644
--- a/src/transport/plugin_transport_udp_new.h
+++ b/src/transport/plugin_transport_udp_new.h
@@ -41,7 +41,7 @@
41 41
42#define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__) 42#define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
43 43
44#define DEBUG_UDP GNUNET_YES 44#define DEBUG_UDP GNUNET_NO
45#define DEBUG_UDP_BROADCASTING GNUNET_NO 45#define DEBUG_UDP_BROADCASTING GNUNET_NO
46 46
47/** 47/**
@@ -231,12 +231,6 @@ struct Plugin
231 struct BroadcastAddress *ipv4_broadcast_tail; 231 struct BroadcastAddress *ipv4_broadcast_tail;
232 struct BroadcastAddress *ipv4_broadcast_head; 232 struct BroadcastAddress *ipv4_broadcast_head;
233 233
234
235 /**
236 * expected delay for ACKs
237 */
238 struct GNUNET_TIME_Relative last_expected_delay;
239
240 /** 234 /**
241 * Enable IPv6 235 * Enable IPv6
242 */ 236 */
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c
index 191219107..9cc769ef1 100644
--- a/src/transport/test_transport_api.c
+++ b/src/transport/test_transport_api.c
@@ -50,7 +50,7 @@
50/** 50/**
51 * How long until we give up on transmitting the message? 51 * How long until we give up on transmitting the message?
52 */ 52 */
53#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) 53#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
54 54
55#define MSIZE 2600 55#define MSIZE 2600
56 56
@@ -88,7 +88,6 @@ char *cfg_file_p2;
88#define OKPP do { ok++; } while (0) 88#define OKPP do { ok++; } while (0)
89#endif 89#endif
90 90
91
92static void 91static void
93end () 92end ()
94{ 93{
@@ -205,7 +204,7 @@ notify_ready (void *cls, size_t size, void *buf)
205 } 204 }
206 205
207 char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id)); 206 char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id));
208 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 207 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
209 "Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n", 208 "Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n",
210 p2->no, ps, ntohs (hdr->type), ntohs (hdr->size), p->no, 209 p2->no, ps, ntohs (hdr->type), ntohs (hdr->size), p->no,
211 GNUNET_i2s (&p->id)); 210 GNUNET_i2s (&p->id));