From aa4361ff05e8cecfa11ca0d1fdc94be0503db07b Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 3 Aug 2011 23:31:50 +0000 Subject: Added real ACK for path acknowledgement --- src/mesh/mesh_protocol.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/mesh/mesh_protocol.h') diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index c18d56400..8868d0c66 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h @@ -151,6 +151,31 @@ struct GNUNET_MESH_DataMessageToOrigin */ }; + +/** + * Message for ack'ing a path + */ +struct GNUNET_MESH_PathACK +{ + /** + * Type: GNUNET_MESSAGE_TYPE_PATH_ACK + */ + struct GNUNET_MessageHeader header; + + /** + * TID of the tunnel + */ + uint32_t tid GNUNET_PACKED; + + /** + * OID of the tunnel + */ + struct GNUNET_PeerIdentity oid; + + /* TODO: signature */ +}; + + /** * Message for mesh flow control */ -- cgit v1.2.3