aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-09-07 12:08:50 +0000
committerBart Polot <bart@net.in.tum.de>2011-09-07 12:08:50 +0000
commite07fb2d4b3a81677488a812a6181e0aa5186c6e9 (patch)
tree98022759d34d42d15ecbdc6aabedfdece31cff99 /src/mesh/mesh.h
parent8df584aafe56a0ab901c780e5405feb273e09475 (diff)
downloadgnunet-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.h19
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 */
127struct 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