diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.h b/src/mesh/gnunet-service-mesh_tunnel.h index 0cbdf1b13..42b18fe2e 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.h +++ b/src/mesh/gnunet-service-mesh_tunnel.h | |||
@@ -61,6 +61,16 @@ enum MeshTunnel3State | |||
61 | MESH_TUNNEL3_WAITING, | 61 | MESH_TUNNEL3_WAITING, |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * Ephemeral key sent, waiting for peer's key. | ||
65 | */ | ||
66 | MESH_TUNNEL3_KEY_SENT, | ||
67 | |||
68 | /** | ||
69 | * Have peer's key, sent ping, waiting for pong. | ||
70 | */ | ||
71 | MESH_TUNNEL3_PING_SENT, | ||
72 | |||
73 | /** | ||
64 | * Peer connected and ready to accept data | 74 | * Peer connected and ready to accept data |
65 | */ | 75 | */ |
66 | MESH_TUNNEL3_READY, | 76 | MESH_TUNNEL3_READY, |
@@ -68,7 +78,12 @@ enum MeshTunnel3State | |||
68 | /** | 78 | /** |
69 | * Peer connected previosly but not responding | 79 | * Peer connected previosly but not responding |
70 | */ | 80 | */ |
71 | MESH_TUNNEL3_RECONNECTING | 81 | MESH_TUNNEL3_RECONNECTING, |
82 | |||
83 | /** | ||
84 | * New ephemeral key and ping sent, waiting for pong. | ||
85 | */ | ||
86 | MESH_TUNNEL3_REKEY, | ||
72 | }; | 87 | }; |
73 | 88 | ||
74 | /** | 89 | /** |