#define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
-#define DEBUG_UDP GNUNET_YES
+#define DEBUG_UDP GNUNET_NO
#define DEBUG_UDP_BROADCASTING GNUNET_NO
/**
struct BroadcastAddress *ipv4_broadcast_tail;
struct BroadcastAddress *ipv4_broadcast_head;
-
- /**
- * expected delay for ACKs
- */
- struct GNUNET_TIME_Relative last_expected_delay;
-
/**
* Enable IPv6
*/
/**
* How long until we give up on transmitting the message?
*/
-#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
#define MSIZE 2600
#define OKPP do { ok++; } while (0)
#endif
-
static void
end ()
{
}
char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id));
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n",
p2->no, ps, ntohs (hdr->type), ntohs (hdr->size), p->no,
GNUNET_i2s (&p->id));