diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-02-21 17:28:55 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-02-21 17:28:55 +0000 |
commit | a4c9524076c56b21b5985f3b6b78b60db799287e (patch) | |
tree | 516ac1d94c22b3ff77fabc81096e06c3ab8f0431 /src/stream/stream_protocol.h | |
parent | 54f37f67da546f3f53dde7503db1fe22fd734635 (diff) | |
download | gnunet-a4c9524076c56b21b5985f3b6b78b60db799287e.tar.gz gnunet-a4c9524076c56b21b5985f3b6b78b60db799287e.zip |
-added data message handling
Diffstat (limited to 'src/stream/stream_protocol.h')
-rw-r--r-- | src/stream/stream_protocol.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/stream/stream_protocol.h b/src/stream/stream_protocol.h index 1b3a6838a..baaec2a4f 100644 --- a/src/stream/stream_protocol.h +++ b/src/stream/stream_protocol.h | |||
@@ -136,6 +136,9 @@ struct GNUNET_STREAM_AckMessage | |||
136 | }; | 136 | }; |
137 | 137 | ||
138 | 138 | ||
139 | /** | ||
140 | * Message for Acknowledging HELLO | ||
141 | */ | ||
139 | struct GNUNET_STREAM_HelloAckMessage | 142 | struct GNUNET_STREAM_HelloAckMessage |
140 | { | 143 | { |
141 | /** | 144 | /** |
@@ -151,10 +154,30 @@ struct GNUNET_STREAM_HelloAckMessage | |||
151 | 154 | ||
152 | /** | 155 | /** |
153 | * The size(in bytes) of the receive window on the peer sending this message | 156 | * The size(in bytes) of the receive window on the peer sending this message |
157 | * | ||
158 | * FIXME: Remove if not needed | ||
154 | */ | 159 | */ |
155 | uint32_t receive_window_size; | 160 | uint32_t receive_window_size; |
156 | }; | 161 | }; |
157 | 162 | ||
163 | |||
164 | /** | ||
165 | * The Transmit close message(used to signal transmission is closed) | ||
166 | */ | ||
167 | struct GNUNET_STREAM_TransmitCloseMessage | ||
168 | { | ||
169 | /** | ||
170 | * The stream message header | ||
171 | */ | ||
172 | struct GNUNET_STREAM_MessageHeader header; | ||
173 | |||
174 | /** | ||
175 | * The last sequence number of the packet after which the transmission has | ||
176 | * ended | ||
177 | */ | ||
178 | uint32_t final_sequence_number GNUNET_PACKED; | ||
179 | }; | ||
180 | |||
158 | GNUNET_NETWORK_STRUCT_END | 181 | GNUNET_NETWORK_STRUCT_END |
159 | 182 | ||
160 | 183 | ||