* GNUNET_STREAM_ListenSuccessCallback. The callback is only called if
* listen is successful
*/
- GNUNET_STREAM_OPTION_SIGNAL_LISTEN_SUCCESS
+ GNUNET_STREAM_OPTION_SIGNAL_LISTEN_SUCCESS,
+
+ /**
+ * Option to set the maximum payload size in bytes of a stream data
+ * packets. Takes an uint16_t as argument. Note that this should be less
+ * than 64000 and cannot be zero. Default is 64000 bytes.
+ */
+ GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE
};