From: Bart Polot Date: Thu, 4 Oct 2012 12:25:14 +0000 (+0000) Subject: - New mesh message X-Git-Tag: initial-import-from-subversion-38251~11520 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d368600afb96d024105aa9d0ea8523b597a9099a;p=oweals%2Fgnunet.git - New mesh message --- 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 */