diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-10 09:52:42 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-10 09:52:42 +0000 |
commit | 8d7a99a8f58f1e5be7424f8fdcf45d19f4526b12 (patch) | |
tree | 11b68c3cb7d42086d28f7c58b854c3b9e068d772 /src | |
parent | 7aa33c55ce654ed8fecc23279706eb78e111b9c8 (diff) |
- replace all HashCodes with short MeshHashes in Mesh messages
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh_protocol.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index 5476c016dc..5618360b74 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h @@ -63,7 +63,7 @@ struct GNUNET_MESH_ConnectionCreate /** * 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 @@ struct GNUNET_MESH_ConnectionACK /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; }; @@ -103,7 +103,7 @@ struct GNUNET_MESH_KX /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; /* Specific KX message follows. */ }; @@ -227,7 +227,7 @@ struct GNUNET_MESH_Encrypted /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; /** * ID of the packet (hop by hop). @@ -248,7 +248,7 @@ struct GNUNET_MESH_Encrypted * 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 @@ struct GNUNET_MESH_ACK /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; }; @@ -383,20 +383,20 @@ struct GNUNET_MESH_ACK */ 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 @@ struct GNUNET_MESH_ConnectionBroken /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; /** * ID of the endpoint @@ -441,7 +441,7 @@ struct GNUNET_MESH_ConnectionDestroy /** * ID of the connection. */ - struct GNUNET_HashCode cid; + struct GNUNET_MeshHash cid; }; |