diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-11-05 11:15:11 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-11-05 11:15:11 +0000 |
commit | 979d6c82e5ca8564794610be8abea5c7f17f5899 (patch) | |
tree | 0b08df7978de027774d863d9e9406c05a6e2339c /src/mesh/gnunet-service-mesh_connection.h | |
parent | 3caea7e6f20361756ed9bc414110b1b7f5ec585d (diff) | |
download | gnunet-979d6c82e5ca8564794610be8abea5c7f17f5899.tar.gz gnunet-979d6c82e5ca8564794610be8abea5c7f17f5899.zip |
- change key exchange messages to own encapsulation
Diffstat (limited to 'src/mesh/gnunet-service-mesh_connection.h')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h index fbff84335..39dd29837 100644 --- a/src/mesh/gnunet-service-mesh_connection.h +++ b/src/mesh/gnunet-service-mesh_connection.h | |||
@@ -150,6 +150,20 @@ GMC_handle_encrypted (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
150 | const struct GNUNET_MessageHeader *message); | 150 | const struct GNUNET_MessageHeader *message); |
151 | 151 | ||
152 | /** | 152 | /** |
153 | * Core handler for key exchange traffic (ephemeral key, ping, pong). | ||
154 | * | ||
155 | * @param cls Closure (unused). | ||
156 | * @param message Message received. | ||
157 | * @param peer Peer who sent the message. | ||
158 | * | ||
159 | * @return GNUNET_OK to keep the connection open, | ||
160 | * GNUNET_SYSERR to close it (signal serious error) | ||
161 | */ | ||
162 | int | ||
163 | GMC_handle_kx (void *cls, const struct GNUNET_PeerIdentity *peer, | ||
164 | const struct GNUNET_MessageHeader *message); | ||
165 | |||
166 | /** | ||
153 | * Core handler for mesh network traffic point-to-point acks. | 167 | * Core handler for mesh network traffic point-to-point acks. |
154 | * | 168 | * |
155 | * @param cls closure | 169 | * @param cls closure |