/**
* Handler for mesh network traffic end-to-end ACKs.
*
- * @param t Tunnel on which we got this message.
+ * @param ch Channel on which we got this message.
* @param msg Data message.
* @param fwd Is this a fwd ACK? (dest->orig)
*/
/**
* Handler for mesh network traffic end-to-end ACKs.
*
- * @param t Tunnel on which we got this message.
+ * @param ch Channel on which we got this message.
* @param msg Data message.
* @param fwd Is this a fwd ACK? (dest->orig)
*/
fwd = peer == get_prev_hop (c);
+ send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
connection_cancel_queues (c, !fwd);
if (GMC_is_terminal (c, fwd))
{
return;
}
- send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
-
/* Connection will have at least one pending message
* (the one we just scheduled), so no point in checking whether to
* destroy immediately. */
* The path is given in peer_info -> destination, therefore we turn the path
* upside down first.
*
- * @param pee Peer to add the path to, being the origin of the path.
+ * @param peer Peer to add the path to, being the origin of the path.
* @param path New path to add after being inversed.
* Path will be either used or freed.
* @param trusted Do we trust that this path is real?
* @param trusted Do we trust that this path is real?
*/
void
-GMP_add_path_to_origin (struct MeshPeer *peer_info,
+GMP_add_path_to_origin (struct MeshPeer *peer,
struct MeshPeerPath *path,
int trusted);
/**
- * Send ACK on one or more channels due to buffer in connections..
+ * 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)