summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-05-07 15:57:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-05-07 15:57:41 +0000
commit19447a5f31ce1c3f8949563d8da69fc98e4d98dd (patch)
tree07b4fd91b478084a9dee88239ba734f4ba3e0bc3 /src/transport/gnunet-service-transport_manipulation.c
parent088da42acbccfecbc36c87e333ce356bf76d6f7e (diff)
documentation
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.c')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index d537dd9b7..dfc64f80e 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -148,6 +148,8 @@ struct DelayQueueEntry
/**
* Peer this entry is belonging to
+ * if (NULL == tmp): enqueued in generic DLL and scheduled by generic_send_delay_task
+ * else: enqueued in tmp->send_head and tmp->send_tail and scheduled by tmp->send_delay_task
*/
struct TM_Peer *tmp;
@@ -187,12 +189,18 @@ struct DelayQueueEntry
void *cont_cls;
};
-
+/**
+ * DLL head for delayed messages based on general delay
+ */
struct DelayQueueEntry *generic_dqe_head;
+
+/**
+ * DLL tail for delayed messages based on general delay
+ */
struct DelayQueueEntry *generic_dqe_tail;
/**
- * Task to schedule delayed sendding
+ * Task to schedule delayed sending based on general delay
*/
GNUNET_SCHEDULER_TaskIdentifier generic_send_delay_task;