added test_stream_big to make check tests
[oweals/gnunet.git] / src / stream / stream_protocol.h
index 0d427bfa24f276adee6b485c64f84dc2ecb54606..d1c43b778ea93a41986f8f6d0a78bdcaf8cc2296 100644 (file)
@@ -89,9 +89,6 @@ struct GNUNET_STREAM_DataMessage
    * Offset of the packet in the overall stream, modulo 2^32; allows
    * the receiver to calculate where in the destination buffer the
    * message should be placed.  In network byte order.
-   *
-   * FIXME: if all the packets except the last one are of constant size we
-   * don't need this anymore
    */
   uint32_t offset GNUNET_PACKED;
 
@@ -130,10 +127,8 @@ struct GNUNET_STREAM_AckMessage
   GNUNET_STREAM_AckBitmap bitmap GNUNET_PACKED;
 
   /**
-   * The sequence number of the Data Message upto which the receiver has filled
-   * its buffer without any missing packets
-   *
-   * FIXME: Do we need this?
+   * The sequence number of the next Data Message receiver is
+   * anticipating. Data messages less than this number are received by receiver
    */
   uint32_t base_sequence_number GNUNET_PACKED;
 
@@ -159,14 +154,14 @@ struct GNUNET_STREAM_HelloAckMessage
    * The selected sequence number. Following data tranmissions from the sender
    * start with this sequence
    */
-  uint32_t sequence_number;
+  uint32_t sequence_number GNUNET_PACKED;
 
   /**
    * The size(in bytes) of the receive window on the peer sending this message
    *
    * FIXME: Remove if not needed
    */
-  uint32_t receive_window_size;
+  uint32_t receiver_window_size GNUNET_PACKED;
 };