diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-10 16:26:15 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-10 16:26:15 +0000 |
commit | 0b3a3d3f528101f53a5e3a1fad81dc9b6f62cd3c (patch) | |
tree | e0db21f05cc684d8b09cf96a939ee65982976ad4 /src/mesh/mesh_tunnel_tree.h | |
parent | c7b454f407512be4f8ae85962e332b3a1d026c09 (diff) | |
download | gnunet-0b3a3d3f528101f53a5e3a1fad81dc9b6f62cd3c.tar.gz gnunet-0b3a3d3f528101f53a5e3a1fad81dc9b6f62cd3c.zip |
Fixed bugs, refactored path tree
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h index f187e7957..509d254a1 100644 --- a/src/mesh/mesh_tunnel_tree.h +++ b/src/mesh/mesh_tunnel_tree.h | |||
@@ -172,6 +172,15 @@ path_invert (struct MeshPeerPath *p); | |||
172 | 172 | ||
173 | 173 | ||
174 | /** | 174 | /** |
175 | * Duplicate a path, incrementing short peer's rc. | ||
176 | * | ||
177 | * @param p The path to duplicate. | ||
178 | */ | ||
179 | struct MeshPeerPath * | ||
180 | path_duplicate (struct MeshPeerPath *path); | ||
181 | |||
182 | |||
183 | /** | ||
175 | * Find the first peer whom to send a packet to go down this path | 184 | * Find the first peer whom to send a packet to go down this path |
176 | * | 185 | * |
177 | * @param t The tunnel tree to use | 186 | * @param t The tunnel tree to use |