gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31561 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r31561 - gnunet/src/mesh
Date: Thu, 19 Dec 2013 14:25:27 +0100

Author: bartpolot
Date: 2013-12-19 14:25:27 +0100 (Thu, 19 Dec 2013)
New Revision: 31561

Modified:
   gnunet/src/mesh/gnunet-service-mesh_channel.c
Log:
- log traffic size


Modified: gnunet/src/mesh/gnunet-service-mesh_channel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-12-19 13:24:08 UTC 
(rev 31560)
+++ gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-12-19 13:25:27 UTC 
(rev 31561)
@@ -1264,6 +1264,8 @@
   {
     case GNUNET_MESSAGE_TYPE_MESH_DATA:
       /* Don't send hop ACK, wait for client to ACK */
+      LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! SEND loopback %u (%u)\n",
+           ntohl (((struct GNUNET_MESH_Data *) msgh)->mid), ntohs 
(msgh->size));
       GMCH_handle_data (ch, (struct GNUNET_MESH_Data *) msgh, fwd);
       break;
 
@@ -1910,7 +1912,8 @@
       ( !GM_is_pid_bigger (rel->mid_recv, mid) &&
         GM_is_pid_bigger (rel->mid_recv + 64, mid) ) )
   {
-    LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! RECV %u\n", mid);
+    LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! RECV %u (%u)\n",
+         mid, ntohs (msg->header.size));
     if (GNUNET_YES == ch->reliable)
     {
       /* Is this the exact next expected messasge? */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]