* towards a channel of a local tunnel.
*
* @param t Tunnel this message came on.
- * @param msgh Message header.
+ * @param msg Message header.
* @param fwd Is this message fwd?
*/
void
/**
* Get the total buffer space for a tunnel.
+ *
+ * FIXME get a ch parameter in case of loopback tunnels
*
* @param t Tunnel.
* @param fwd Is this for FWD traffic?
MESH_ChannelNumber
GMT_get_next_chid (struct MeshTunnel3 *t);
+/**
+ * Send ACK on one or more channels due to buffer in connections..
+ *
+ * @param t Channel which has some free buffer space.
+ * @param fwd Is this for FWD traffic? (ACK goes to root)
+ */
+void
+GMT_unchoke_channels (struct MeshTunnel3 *t, int fwd);
+
+/**
+ * Send ACK on one or more connections due to buffer space to the client.
+ *
+ * Iterates all connections of the tunnel and sends ACKs appropriately.
+ *
+ * @param ch Channel which has some free buffer space.
+ * @param fwd Is this in for FWD traffic? (ACK goes dest->root)
+ */
+void
+GMT_send_acks (struct MeshTunnel3 *t, int fwd);
+
/**
* Sends an already built message on a tunnel, encrypting it and
* choosing the best connection.