aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-08-03 00:47:34 +0000
committerBart Polot <bart@net.in.tum.de>2013-08-03 00:47:34 +0000
commitcfb352a9378aa8f8ab3ef27e945946ea3c7b0e9c (patch)
tree85d2b764895375e9f57c2040d6b1c7e8a64fd15e /src
parentb0942924ad36ef98a7367454e689e22ee35f2971 (diff)
downloadgnunet-cfb352a9378aa8f8ab3ef27e945946ea3c7b0e9c.tar.gz
gnunet-cfb352a9378aa8f8ab3ef27e945946ea3c7b0e9c.zip
- doxygen order
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh-enc.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c
index 7464e4a91..caa9439b6 100644
--- a/src/mesh/gnunet-service-mesh-enc.c
+++ b/src/mesh/gnunet-service-mesh-enc.c
@@ -4510,7 +4510,8 @@ handle_mesh_data (const struct GNUNET_PeerIdentity *peer,
4510 struct GNUNET_MESH_Data *msg; 4510 struct GNUNET_MESH_Data *msg;
4511 struct MeshFlowControl *fc; 4511 struct MeshFlowControl *fc;
4512 struct MeshChannelReliability *rel; 4512 struct MeshChannelReliability *rel;
4513 struct MeshTunnel *t; 4513 struct MeshChannel *ch;
4514 struct MeshTunnel2 *t;
4514 struct MeshClient *c; 4515 struct MeshClient *c;
4515 GNUNET_PEER_Id hop; 4516 GNUNET_PEER_Id hop;
4516 uint32_t pid; 4517 uint32_t pid;
@@ -4533,8 +4534,9 @@ handle_mesh_data (const struct GNUNET_PeerIdentity *peer,
4533 msg = (struct GNUNET_MESH_Data *) message; 4534 msg = (struct GNUNET_MESH_Data *) message;
4534 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " payload of type %s\n", 4535 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " payload of type %s\n",
4535 GNUNET_MESH_DEBUG_M2S (ntohs (msg[1].header.type))); 4536 GNUNET_MESH_DEBUG_M2S (ntohs (msg[1].header.type)));
4536 /* Check tunnel */ 4537
4537 t = channel_get (&msg->oid, ntohl (msg->tid)); 4538 /* Check channel */
4539 ch = channel_get (&msg->oid, ntohl (msg->tid));
4538 if (NULL == t) 4540 if (NULL == t)
4539 { 4541 {
4540 /* TODO notify back: we don't know this tunnel */ 4542 /* TODO notify back: we don't know this tunnel */
@@ -4650,8 +4652,8 @@ handle_mesh_data (const struct GNUNET_PeerIdentity *peer,
4650 * Core handler for mesh network traffic going from the origin to a peer 4652 * Core handler for mesh network traffic going from the origin to a peer
4651 * 4653 *
4652 * @param cls Closure (unused). 4654 * @param cls Closure (unused).
4653 * @param message Message received. 4655 * @param peer Peer identity of sending neighbor.
4654 * @param peer Peer who sent the message. 4656 * @param message Message.
4655 * 4657 *
4656 * @return GNUNET_OK to keep the connection open, 4658 * @return GNUNET_OK to keep the connection open,
4657 * GNUNET_SYSERR to close it (signal serious error) 4659 * GNUNET_SYSERR to close it (signal serious error)
@@ -4667,8 +4669,8 @@ handle_mesh_unicast (void *cls, const struct GNUNET_PeerIdentity *peer,
4667 * Core handler for mesh network traffic towards the owner of a tunnel. 4669 * Core handler for mesh network traffic towards the owner of a tunnel.
4668 * 4670 *
4669 * @param cls Closure (unused). 4671 * @param cls Closure (unused).
4670 * @param message Message received. 4672 * @param peer Peer identity of sending neighbor.
4671 * @param peer Peer who sent the message. 4673 * @param message Message.
4672 * 4674 *
4673 * @return GNUNET_OK to keep the connection open, 4675 * @return GNUNET_OK to keep the connection open,
4674 * GNUNET_SYSERR to close it (signal serious error) 4676 * GNUNET_SYSERR to close it (signal serious error)