aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_tunnel_tree.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-13 13:44:18 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-13 13:44:18 +0000
commit2e9731ebda48bf2549aed64ca9cdfea5b298f9d7 (patch)
tree299c800975b74b4036dcda3168c352799e7c89e2 /src/mesh/mesh_tunnel_tree.h
parent8c61ac28c875a62ed8f3a51bfbd7359fdd581d0b (diff)
downloadgnunet-2e9731ebda48bf2549aed64ca9cdfea5b298f9d7.tar.gz
gnunet-2e9731ebda48bf2549aed64ca9cdfea5b298f9d7.zip
Extended testcase, fixed bugs in client -> service data traffic handling
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r--src/mesh/mesh_tunnel_tree.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h
index 509d254a1..82a1d1d1b 100644
--- a/src/mesh/mesh_tunnel_tree.h
+++ b/src/mesh/mesh_tunnel_tree.h
@@ -267,6 +267,19 @@ tree_find_peer (struct MeshTunnelTreeNode *parent,
267 267
268 268
269/** 269/**
270 * Recusively update the info about what is the first hop to reach the node
271 *
272 * @param tree Tree this nodes belongs to
273 * @param parent Node to be start updating
274 * @param hop If known, ID of the first hop.
275 * If not known, NULL to find out and pass on children.
276 */
277void
278tree_update_first_hops (struct MeshTunnelTree *tree,
279 struct MeshTunnelTreeNode *parent,
280 struct GNUNET_PeerIdentity *hop);
281
282/**
270 * Delete the current path to the peer, including all now unused relays. 283 * Delete the current path to the peer, including all now unused relays.
271 * The destination peer is NOT destroyed, it is returned in order to either set 284 * The destination peer is NOT destroyed, it is returned in order to either set
272 * a new path to it or destroy it explicitly, taking care of it's child nodes. 285 * a new path to it or destroy it explicitly, taking care of it's child nodes.