From d368600afb96d024105aa9d0ea8523b597a9099a Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 4 Oct 2012 12:25:14 +0000 Subject: [PATCH] - New mesh message --- src/mesh/mesh_protocol.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index 38c57607b..e83542944 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h @@ -226,6 +226,33 @@ struct GNUNET_MESH_ACK }; +/** + * Message to query a peer about its Flow Control status regarding a tunnel. + */ +struct GNUNET_MESH_Poll +{ + /** + * Type: GNUNET_MESSAGE_TYPE_MESH_POLL + */ + struct GNUNET_MessageHeader header; + + /** + * TID of the tunnel + */ + uint32_t tid GNUNET_PACKED; + + /** + * OID of the tunnel + */ + struct GNUNET_PeerIdentity oid; + + /** + * Last ACK received. + */ + uint32_t last_ack; + +}; + /** * Message for ack'ing a path */ -- 2.25.1