- fixes
[oweals/gnunet.git] / src / mesh / mesh_protocol.h
index 38c57607bb44a125548b6c8a8141ee5be6dba0f9..01f7f3487d8ca91972271440d83a8eda792e7ded 100644 (file)
@@ -226,6 +226,32 @@ 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
  */