summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-09-20 12:37:55 +0000
committerBart Polot <bart@net.in.tum.de>2012-09-20 12:37:55 +0000
commit323c44db827e0d491463df59d6619a8d5d896bc7 (patch)
tree3411915a4655f84931e4c1fa186684dc533a6c64 /src
parent87a8875eeebfaf98d3a8441adb3f227122e2aab3 (diff)
- doc
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index aa3bfea97..369339af1 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -4846,7 +4846,14 @@ queue_send (void *cls, size_t size, void *buf)
/**
- * Queue and pass message to core when possible.
+ * @brief Queue and pass message to core when possible.
+ *
+ * If type is payload (UNICAST, TO_ORIGIN, MULTICAST) checks for queue status
+ * and accounts for it. In case the queue is full, the message is dropped and
+ * a break issued.
+ *
+ * Otherwise, message is treated as internal and allowed to go regardless of
+ * queue status.
*
* @param cls Closure (type dependant).
* @param type Type of the message, 0 for a raw message.