diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-27 14:30:52 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-27 14:30:52 +0100 |
commit | 164e9747a9a90666c98d2dd31541bb11a3eee51d (patch) | |
tree | ab51f64cd797ecacf9d3cee364eb8292246957b0 /src/include | |
parent | d3b0b69e7d360b4b82c5a5580a7ea21317dfee24 (diff) | |
download | gnunet-164e9747a9a90666c98d2dd31541bb11a3eee51d.tar.gz gnunet-164e9747a9a90666c98d2dd31541bb11a3eee51d.zip |
trying to make KX logic slightly more readable
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_protocols.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 4079aa0e4..1b6152206 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -2651,10 +2651,21 @@ extern "C" | |||
2651 | 2651 | ||
2652 | /** | 2652 | /** |
2653 | * Hop-by-hop, connection dependent ACK. | 2653 | * Hop-by-hop, connection dependent ACK. |
2654 | * | ||
2655 | * @deprecated | ||
2654 | */ | 2656 | */ |
2655 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_ENCRYPTED_ACK 1005 | 2657 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_ENCRYPTED_ACK 1005 |
2656 | 2658 | ||
2657 | /** | 2659 | /** |
2660 | * We do not bother with ACKs for | ||
2661 | * #GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED messages, but we instead | ||
2662 | * poll for one if we got nothing for a while and start to be worried. | ||
2663 | * | ||
2664 | * @deprecated | ||
2665 | */ | ||
2666 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED_POLL 1006 | ||
2667 | |||
2668 | /** | ||
2658 | * Axolotl key exchange. | 2669 | * Axolotl key exchange. |
2659 | */ | 2670 | */ |
2660 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX 1007 | 2671 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX 1007 |
@@ -2665,11 +2676,9 @@ extern "C" | |||
2665 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED 1008 | 2676 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED 1008 |
2666 | 2677 | ||
2667 | /** | 2678 | /** |
2668 | * We do not bother with ACKs for | 2679 | * Axolotl key exchange response with authentication. |
2669 | * #GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED messages, but we instead | ||
2670 | * poll for one if we got nothing for a while and start to be worried. | ||
2671 | */ | 2680 | */ |
2672 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED_POLL 1006 | 2681 | #define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX_AUTH 1009 |
2673 | 2682 | ||
2674 | 2683 | ||
2675 | 2684 | ||
@@ -2707,6 +2716,8 @@ extern "C" | |||
2707 | 2716 | ||
2708 | /** | 2717 | /** |
2709 | * Reject the creation of a channel | 2718 | * Reject the creation of a channel |
2719 | * | ||
2720 | * @deprecated | ||
2710 | */ | 2721 | */ |
2711 | #define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_NACK_DEPRECATED 1016 | 2722 | #define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_NACK_DEPRECATED 1016 |
2712 | 2723 | ||