aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-10 15:12:43 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-10 15:12:43 +0200
commit2bbb2934dbbe471640c67c3bc672120f35708fd1 (patch)
treee9df02cfd8c1d747ccc5bba671df0fc40ed0c177 /src/include
parentbe52c40584d5b1ad7e8f3a99d80ab0add4387d04 (diff)
downloadgnunet-2bbb2934dbbe471640c67c3bc672120f35708fd1.tar.gz
gnunet-2bbb2934dbbe471640c67c3bc672120f35708fd1.zip
defining data structures for validation
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_signatures.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index 218dcbace..37a4ca1fb 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -204,24 +204,33 @@ extern "C"
204 204
205/** 205/**
206 * Signature used by TCP communicator handshake, 206 * Signature used by TCP communicator handshake,
207 */ 207 */
208#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_HANDSHAKE 31 208#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_HANDSHAKE 31
209 209
210/** 210/**
211 * Signature used by TCP communicator rekey. 211 * Signature used by TCP communicator rekey.
212 */ 212 */
213#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_REKEY 32 213#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_REKEY 32
214 214
215/** 215/**
216 * Signature used by UDP communicator handshake 216 * Signature used by UDP communicator handshake
217 */ 217 */
218#define GNUNET_SIGNATURE_COMMUNICATOR_UDP_HANDSHAKE 33 218#define GNUNET_SIGNATURE_COMMUNICATOR_UDP_HANDSHAKE 33
219 219
220/** 220/**
221 * Signature used by UDP broadcasts. 221 * Signature used by UDP broadcasts.
222 */ 222 */
223#define GNUNET_SIGNATURE_COMMUNICATOR_UDP_BROADCAST 34 223#define GNUNET_SIGNATURE_COMMUNICATOR_UDP_BROADCAST 34
224 224
225/**
226 * Signature by a peer affirming that it received a
227 * challenge (and stating how long it expects the
228 * address on which the challenge was received to
229 * remain valid).
230 */
231#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35
232
233
225#if 0 /* keep Emacsens' auto-indent happy */ 234#if 0 /* keep Emacsens' auto-indent happy */
226{ 235{
227#endif 236#endif