[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32597 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32597 - gnunet/src/mesh |
Date: |
Mon, 10 Mar 2014 10:52:42 +0100 |
Author: bartpolot
Date: 2014-03-10 10:52:42 +0100 (Mon, 10 Mar 2014)
New Revision: 32597
Modified:
gnunet/src/mesh/mesh_protocol.h
Log:
- replace all HashCodes with short MeshHashes in Mesh messages
Modified: gnunet/src/mesh/mesh_protocol.h
===================================================================
--- gnunet/src/mesh/mesh_protocol.h 2014-03-10 09:52:41 UTC (rev 32596)
+++ gnunet/src/mesh/mesh_protocol.h 2014-03-10 09:52:42 UTC (rev 32597)
@@ -63,7 +63,7 @@
/**
* ID of the connection
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
/**
* path_length structs defining the *whole* path from the origin [0] to the
@@ -85,7 +85,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
};
@@ -103,7 +103,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
/* Specific KX message follows. */
};
@@ -227,7 +227,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
/**
* ID of the packet (hop by hop).
@@ -248,7 +248,7 @@
* MAC of the encrypted message, used to verify message integrity.
* Everything after this value will be encrypted and authenticated.
*/
- struct GNUNET_HashCode hmac;
+ struct GNUNET_MeshHash hmac;
/**
* Encrypted content follows.
@@ -374,7 +374,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
};
@@ -383,20 +383,20 @@
*/
struct GNUNET_MESH_Poll
{
- /**
- * Type: GNUNET_MESSAGE_TYPE_MESH_POLL
- */
+ /**
+ * Type: GNUNET_MESSAGE_TYPE_MESH_POLL
+ */
struct GNUNET_MessageHeader header;
- /**
- * Last packet sent.
- */
+ /**
+ * Last packet sent.
+ */
uint32_t pid GNUNET_PACKED;
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
};
@@ -414,7 +414,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
/**
* ID of the endpoint
@@ -441,7 +441,7 @@
/**
* ID of the connection.
*/
- struct GNUNET_HashCode cid;
+ struct GNUNET_MeshHash cid;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32597 - gnunet/src/mesh,
gnunet <=