aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh_channel.c2
-rw-r--r--src/mesh/gnunet-service-mesh_channel.h2
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c3
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c2
-rw-r--r--src/mesh/gnunet-service-mesh_peer.h2
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c2
6 files changed, 6 insertions, 7 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index d33425489..fc949786e 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -1518,7 +1518,7 @@ GMCH_handle_data (struct MeshChannel *ch,
1518/** 1518/**
1519 * Handler for mesh network traffic end-to-end ACKs. 1519 * Handler for mesh network traffic end-to-end ACKs.
1520 * 1520 *
1521 * @param t Tunnel on which we got this message. 1521 * @param ch Channel on which we got this message.
1522 * @param msg Data message. 1522 * @param msg Data message.
1523 * @param fwd Is this a fwd ACK? (dest->orig) 1523 * @param fwd Is this a fwd ACK? (dest->orig)
1524 */ 1524 */
diff --git a/src/mesh/gnunet-service-mesh_channel.h b/src/mesh/gnunet-service-mesh_channel.h
index 3d41af4a8..aaead6c30 100644
--- a/src/mesh/gnunet-service-mesh_channel.h
+++ b/src/mesh/gnunet-service-mesh_channel.h
@@ -250,7 +250,7 @@ GMCH_handle_data (struct MeshChannel *ch,
250/** 250/**
251 * Handler for mesh network traffic end-to-end ACKs. 251 * Handler for mesh network traffic end-to-end ACKs.
252 * 252 *
253 * @param t Tunnel on which we got this message. 253 * @param ch Channel on which we got this message.
254 * @param msg Data message. 254 * @param msg Data message.
255 * @param fwd Is this a fwd ACK? (dest->orig) 255 * @param fwd Is this a fwd ACK? (dest->orig)
256 */ 256 */
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 3abaeda0b..a36c57772 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -2009,6 +2009,7 @@ GMC_notify_broken (struct MeshConnection *c,
2009 2009
2010 fwd = peer == get_prev_hop (c); 2010 fwd = peer == get_prev_hop (c);
2011 2011
2012 send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
2012 connection_cancel_queues (c, !fwd); 2013 connection_cancel_queues (c, !fwd);
2013 if (GMC_is_terminal (c, fwd)) 2014 if (GMC_is_terminal (c, fwd))
2014 { 2015 {
@@ -2017,8 +2018,6 @@ GMC_notify_broken (struct MeshConnection *c,
2017 return; 2018 return;
2018 } 2019 }
2019 2020
2020 send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
2021
2022 /* Connection will have at least one pending message 2021 /* Connection will have at least one pending message
2023 * (the one we just scheduled), so no point in checking whether to 2022 * (the one we just scheduled), so no point in checking whether to
2024 * destroy immediately. */ 2023 * destroy immediately. */
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index fab01ebd3..6f46796a2 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -1522,7 +1522,7 @@ GMP_add_path (struct MeshPeer *peer_info, struct MeshPeerPath *path,
1522 * The path is given in peer_info -> destination, therefore we turn the path 1522 * The path is given in peer_info -> destination, therefore we turn the path
1523 * upside down first. 1523 * upside down first.
1524 * 1524 *
1525 * @param pee Peer to add the path to, being the origin of the path. 1525 * @param peer Peer to add the path to, being the origin of the path.
1526 * @param path New path to add after being inversed. 1526 * @param path New path to add after being inversed.
1527 * Path will be either used or freed. 1527 * Path will be either used or freed.
1528 * @param trusted Do we trust that this path is real? 1528 * @param trusted Do we trust that this path is real?
diff --git a/src/mesh/gnunet-service-mesh_peer.h b/src/mesh/gnunet-service-mesh_peer.h
index 0d164cef9..75989c4ce 100644
--- a/src/mesh/gnunet-service-mesh_peer.h
+++ b/src/mesh/gnunet-service-mesh_peer.h
@@ -213,7 +213,7 @@ GMP_add_path (struct MeshPeer *peer, struct MeshPeerPath *p, int trusted);
213 * @param trusted Do we trust that this path is real? 213 * @param trusted Do we trust that this path is real?
214 */ 214 */
215void 215void
216GMP_add_path_to_origin (struct MeshPeer *peer_info, 216GMP_add_path_to_origin (struct MeshPeer *peer,
217 struct MeshPeerPath *path, 217 struct MeshPeerPath *path,
218 int trusted); 218 int trusted);
219 219
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index 231eeabeb..d0f3df14b 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -1102,7 +1102,7 @@ GMT_get_next_chid (struct MeshTunnel3 *t)
1102 1102
1103 1103
1104/** 1104/**
1105 * Send ACK on one or more channels due to buffer in connections.. 1105 * Send ACK on one or more channels due to buffer in connections.
1106 * 1106 *
1107 * @param t Channel which has some free buffer space. 1107 * @param t Channel which has some free buffer space.
1108 * @param fwd Is this for FWD traffic? (ACK goes to root) 1108 * @param fwd Is this for FWD traffic? (ACK goes to root)