diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-07 12:08:50 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-07 12:08:50 +0000 |
commit | e07fb2d4b3a81677488a812a6181e0aa5186c6e9 (patch) | |
tree | 98022759d34d42d15ecbdc6aabedfdece31cff99 /src/mesh/mesh.h | |
parent | 8df584aafe56a0ab901c780e5405feb273e09475 (diff) | |
download | gnunet-e07fb2d4b3a81677488a812a6181e0aa5186c6e9.tar.gz gnunet-e07fb2d4b3a81677488a812a6181e0aa5186c6e9.zip |
Fixed bugs
Added exponential backoff in reconnection
Fixed all FIXMEs and TODOs
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r-- | src/mesh/mesh.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index 4b82b41dc..ca615f4e7 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h | |||
@@ -118,6 +118,25 @@ struct GNUNET_MESH_TunnelMessage | |||
118 | * ID of a tunnel controlled by this client. | 118 | * ID of a tunnel controlled by this client. |
119 | */ | 119 | */ |
120 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; | 120 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; |
121 | }; | ||
122 | |||
123 | |||
124 | /** | ||
125 | * Message for the service to let a client know about created tunnels. | ||
126 | */ | ||
127 | struct GNUNET_MESH_TunnelNotification | ||
128 | { | ||
129 | /** | ||
130 | * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE | ||
131 | * | ||
132 | * Size: sizeof(struct GNUNET_MESH_TunnelMessage) | ||
133 | */ | ||
134 | struct GNUNET_MessageHeader header; | ||
135 | |||
136 | /** | ||
137 | * ID of a tunnel controlled by this client. | ||
138 | */ | ||
139 | MESH_TunnelNumber tunnel_id GNUNET_PACKED; | ||
121 | 140 | ||
122 | /** | 141 | /** |
123 | * Peer at the other end, if any | 142 | * Peer at the other end, if any |