diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-09-11 09:37:27 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-09-11 09:37:27 +0000 |
commit | 1ae24ace5ac040dac0b1e9261a7db506b1530ca1 (patch) | |
tree | 0203c175b4f17f716ff0e239abdd4320fd5bece2 /src/include/gnunet_stream_lib.h | |
parent | 7dc9c567366b73f192eaf4eab4570e6119e07000 (diff) | |
download | gnunet-1ae24ace5ac040dac0b1e9261a7db506b1530ca1.tar.gz gnunet-1ae24ace5ac040dac0b1e9261a7db506b1530ca1.zip |
stream option to set packet size
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index a134470c7..29ecc731d 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -129,7 +129,14 @@ enum GNUNET_STREAM_Option | |||
129 | * GNUNET_STREAM_ListenSuccessCallback. The callback is only called if | 129 | * GNUNET_STREAM_ListenSuccessCallback. The callback is only called if |
130 | * listen is successful | 130 | * listen is successful |
131 | */ | 131 | */ |
132 | GNUNET_STREAM_OPTION_SIGNAL_LISTEN_SUCCESS | 132 | GNUNET_STREAM_OPTION_SIGNAL_LISTEN_SUCCESS, |
133 | |||
134 | /** | ||
135 | * Option to set the maximum packet size in bytes of a stream data | ||
136 | * packets. Takes an uint16_t as argument. Note that this should be less | ||
137 | * than 64000 bytes and greater than 64 bytes. Default is 64000 bytes. | ||
138 | */ | ||
139 | GNUNET_STREAM_OPTION_MAX_PACKET_SIZE | ||
133 | }; | 140 | }; |
134 | 141 | ||
135 | 142 | ||