From f69c316b9a983cf6357801bc804d497bde5b8e50 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 5 Aug 2013 13:39:34 +0000 Subject: - change hop-by-hop ACK to be per-connection not per-peer --- src/mesh/mesh_protocol_enc.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/mesh/mesh_protocol_enc.h') 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 * Maximum packet ID authorized. */ uint32_t ack GNUNET_PACKED; + + /** + * ID of the tunnel + */ + struct GNUNET_HashCode tid; + + /** + * ID of the connection + */ + uint32_t cid GNUNET_PACKED; }; @@ -259,6 +269,16 @@ struct GNUNET_MESH_Poll * Last packet sent. */ uint32_t pid GNUNET_PACKED; + + /** + * ID of the tunnel + */ + struct GNUNET_HashCode tid; + + /** + * ID of the connection + */ + uint32_t cid GNUNET_PACKED; }; -- cgit v1.2.3