aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_protocol_enc.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-08-05 13:39:34 +0000
committerBart Polot <bart@net.in.tum.de>2013-08-05 13:39:34 +0000
commitf69c316b9a983cf6357801bc804d497bde5b8e50 (patch)
treecb1cf8a9518835f7f3257d1998738641602a179c /src/mesh/mesh_protocol_enc.h
parent80e91cc2d8e19a1aeead110ac1ac813d85247fd3 (diff)
downloadgnunet-f69c316b9a983cf6357801bc804d497bde5b8e50.tar.gz
gnunet-f69c316b9a983cf6357801bc804d497bde5b8e50.zip
- change hop-by-hop ACK to be per-connection not per-peer
Diffstat (limited to 'src/mesh/mesh_protocol_enc.h')
-rw-r--r--src/mesh/mesh_protocol_enc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mesh/mesh_protocol_enc.h b/src/mesh/mesh_protocol_enc.h
index ebecb087d..9661a4fd3 100644
--- a/src/mesh/mesh_protocol_enc.h
+++ b/src/mesh/mesh_protocol_enc.h
@@ -242,6 +242,16 @@ struct GNUNET_MESH_ACK
242 * Maximum packet ID authorized. 242 * Maximum packet ID authorized.
243 */ 243 */
244 uint32_t ack GNUNET_PACKED; 244 uint32_t ack GNUNET_PACKED;
245
246 /**
247 * ID of the tunnel
248 */
249 struct GNUNET_HashCode tid;
250
251 /**
252 * ID of the connection
253 */
254 uint32_t cid GNUNET_PACKED;
245}; 255};
246 256
247 257
@@ -259,6 +269,16 @@ struct GNUNET_MESH_Poll
259 * Last packet sent. 269 * Last packet sent.
260 */ 270 */
261 uint32_t pid GNUNET_PACKED; 271 uint32_t pid GNUNET_PACKED;
272
273 /**
274 * ID of the tunnel
275 */
276 struct GNUNET_HashCode tid;
277
278 /**
279 * ID of the connection
280 */
281 uint32_t cid GNUNET_PACKED;
262}; 282};
263 283
264 284