aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-18 14:49:17 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-18 14:49:17 +0100
commite02d76e46cd00724d32f81375e8981524ee6f3e2 (patch)
tree91a6aea89bfda7865f04244e2fb2a6ebb019bc3a /src/include
parent9f1d39a86ddb227f91ad75f740d59adeb9b6ee31 (diff)
downloadgnunet-e02d76e46cd00724d32f81375e8981524ee6f3e2.tar.gz
gnunet-e02d76e46cd00724d32f81375e8981524ee6f3e2.zip
more rename festivities
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_constants.h4
-rw-r--r--src/include/gnunet_protocols.h28
-rw-r--r--src/include/gnunet_signatures.h5
3 files changed, 18 insertions, 19 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index 336184589..1d0232cea 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -127,8 +127,8 @@ extern "C"
127 127
128/** 128/**
129 * Size of the CADET message overhead: 129 * Size of the CADET message overhead:
130 * = sizeof (struct GNUNET_CADET_ConnectionEncryptedMessage) 130 * = sizeof (struct GNUNET_CADET_TunnelEncryptedMessage)
131 * + sizeof (struct GNUNET_CADET_ChannelDataMessage) 131 * + sizeof (struct GNUNET_CADET_ChannelAppDataMessage)
132 * + sizeof (struct GNUNET_CADET_ConnectionEncryptedAckMessage)) 132 * + sizeof (struct GNUNET_CADET_ConnectionEncryptedAckMessage))
133 * 133 *
134 * Checked for correcteness in gnunet-service-cadet_tunnel.c: GCT_init(). 134 * Checked for correcteness in gnunet-service-cadet_tunnel.c: GCT_init().
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 4962a944a..e8f5ead37 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -2652,34 +2652,38 @@ extern "C"
2652/** 2652/**
2653 * Hop-by-hop, connection dependent ACK. 2653 * Hop-by-hop, connection dependent ACK.
2654 */ 2654 */
2655#define GNUNET_MESSAGE_TYPE_CADET_ENCRYPTED_HOP_BY_HOP_ACK 1005 2655#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_ENCRYPTED_ACK 1005
2656 2656
2657/** 2657/**
2658 * Poll for a hop-by-hop ACK. 2658 * Axolotl key exchange.
2659 */ 2659 */
2660#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_POLL 1006 2660#define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX 1007
2661 2661
2662/** 2662/**
2663 * Key exchange encapsulation. 2663 * Axolotl encrypted data.
2664 */ 2664 */
2665#define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX 1007 2665#define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED 1008
2666 2666
2667/** 2667/**
2668 * Axolotl encrypted data. 2668 * We do not bother with ACKs for
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.
2669 */ 2671 */
2670#define GNUNET_MESSAGE_TYPE_CONNECTION_ENCRYPTED 1008 2672#define GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED_POLL 1006
2673
2674
2671 2675
2672/********************************** Channel *********************************/ 2676/********************************** Channel *********************************/
2673 2677
2674/** 2678/**
2675 * Payload data (inside an encrypted tunnel). 2679 * Payload data (inside an encrypted tunnel).
2676 */ 2680 */
2677#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DATA 1010 2681#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_APP_DATA 1010
2678 2682
2679/** 2683/**
2680 * Confirm payload data end-to-end. 2684 * Confirm payload data end-to-end.
2681 */ 2685 */
2682#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DATA_ACK 1011 2686#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_APP_DATA_ACK 1011
2683 2687
2684/** 2688/**
2685 * Announce connection is still alive (direction sensitive). 2689 * Announce connection is still alive (direction sensitive).
@@ -2689,7 +2693,7 @@ extern "C"
2689/** 2693/**
2690 * Ask the cadet service to create a new channel. 2694 * Ask the cadet service to create a new channel.
2691 */ 2695 */
2692#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE 1013 2696#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN 1013
2693 2697
2694/** 2698/**
2695 * Ask the cadet service to destroy a channel. 2699 * Ask the cadet service to destroy a channel.
@@ -2699,12 +2703,12 @@ extern "C"
2699/** 2703/**
2700 * Confirm the creation of a channel 2704 * Confirm the creation of a channel
2701 */ 2705 */
2702#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE_ACK 1015 2706#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_ACK 1015
2703 2707
2704/** 2708/**
2705 * Reject the creation of a channel 2709 * Reject the creation of a channel
2706 */ 2710 */
2707#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE_NACK_DEPRECATED 1016 2711#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_NACK_DEPRECATED 1016
2708 2712
2709/*********************************** Local **********************************/ 2713/*********************************** Local **********************************/
2710 2714
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index 1e372bbea..c1e0d005c 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -151,11 +151,6 @@ extern "C"
151#define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20 151#define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20
152 152
153/** 153/**
154 * Key exchange in CADET
155 */
156#define GNUNET_SIGNATURE_PURPOSE_CADET_KX 21
157
158/**
159 * Signature for the first round of distributed key generation. 154 * Signature for the first round of distributed key generation.
160 */ 155 */
161#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 22 156#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 22