diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-08-11 13:02:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-08-11 13:02:01 +0000 |
commit | 2a6e6e1654af25646b0f0812595ecf8e4319f643 (patch) | |
tree | 4ab2e8ba0283c540a1759f3ed3da346efd40ba54 /src/include/gnunet_applications.h | |
parent | 666c8fa4c8e4ff13487dca37f26c26663adff579 (diff) | |
download | gnunet-2a6e6e1654af25646b0f0812595ecf8e4319f643.tar.gz gnunet-2a6e6e1654af25646b0f0812595ecf8e4319f643.zip |
-convert vpn/exit/pt to use new CADET ports
Diffstat (limited to 'src/include/gnunet_applications.h')
-rw-r--r-- | src/include/gnunet_applications.h | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/src/include/gnunet_applications.h b/src/include/gnunet_applications.h index 6d05cee17..1817fcac7 100644 --- a/src/include/gnunet_applications.h +++ b/src/include/gnunet_applications.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2011 GNUnet e.V. | 3 | Copyright (C) 2011, 2016 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -51,80 +51,70 @@ extern "C" | |||
51 | #define GNUNET_APPLICATION_TYPE_TEST 1 | 51 | #define GNUNET_APPLICATION_TYPE_TEST 1 |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Internet DNS resolution (external DNS gateway). | 54 | * Transfer of blocks for non-anonymmous file-sharing. |
55 | */ | 55 | */ |
56 | #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2 | 56 | #define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3 |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * Transfer of blocks for non-anonymmous file-sharing. | 59 | * Internet DNS resolution (external DNS gateway). This is a "well-known" |
60 | * service a peer may offer over CADET where the port is the hash of this | ||
61 | * string. | ||
60 | */ | 62 | */ |
61 | #define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3 | 63 | #define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER "exit-dns" |
62 | 64 | ||
63 | /** | 65 | /** |
64 | * Internet IPv4 gateway (any TCP/UDP/ICMP). | 66 | * Internet IPv4 gateway (any TCP/UDP/ICMP). |
65 | */ | 67 | */ |
66 | #define GNUNET_APPLICATION_TYPE_IPV4_GATEWAY 16 | 68 | #define GNUNET_APPLICATION_PORT_IPV4_GATEWAY "exit-ipv4" |
67 | 69 | ||
68 | /** | 70 | /** |
69 | * Internet IPv6 gateway (any TCP/UDP/ICMP). | 71 | * Internet IPv6 gateway (any TCP/UDP/ICMP). |
70 | */ | 72 | */ |
71 | #define GNUNET_APPLICATION_TYPE_IPV6_GATEWAY 17 | 73 | #define GNUNET_APPLICATION_PORT_IPV6_GATEWAY "exit-ipv6" |
72 | 74 | ||
73 | /** | 75 | /** |
74 | * Internet exit regex prefix. Consisting of application ID, followed by version | 76 | * Internet exit regex prefix. Consisting of application ID, followed |
75 | * and padding. | 77 | * by version and padding. |
76 | */ | 78 | */ |
77 | #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-" | 79 | #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-" |
78 | 80 | ||
79 | /** | 81 | /** |
80 | * Consensus. | 82 | * Consensus. |
83 | * | ||
84 | * @deprecated | ||
81 | */ | 85 | */ |
82 | #define GNUNET_APPLICATION_TYPE_CONSENSUS 18 | 86 | #define GNUNET_APPLICATION_TYPE_CONSENSUS 18 |
83 | 87 | ||
84 | /** | 88 | /** |
85 | * Set. Used for two-peer set operations implemented using stream. | 89 | * Set. Used for two-peer set operations implemented using stream. |
90 | * @deprecated | ||
86 | */ | 91 | */ |
87 | #define GNUNET_APPLICATION_TYPE_SET 19 | 92 | #define GNUNET_APPLICATION_TYPE_SET 19 |
88 | 93 | ||
89 | /** | 94 | /** |
90 | * Vectorproduct. Used for two-peer scalarproduct operations | ||
91 | */ | ||
92 | #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT 20 | ||
93 | |||
94 | /** | ||
95 | * Conversation control data. | 95 | * Conversation control data. |
96 | * @deprecated | ||
96 | */ | 97 | */ |
97 | #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21 | 98 | #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21 |
98 | 99 | ||
99 | /** | 100 | /** |
100 | * Conversation audio data. | 101 | * Conversation audio data. |
102 | * @deprecated | ||
101 | */ | 103 | */ |
102 | #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22 | 104 | #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22 |
103 | 105 | ||
104 | /** | 106 | /** |
105 | * MQTT publish-subscribe. | 107 | * MQTT publish-subscribe. |
108 | * @deprecated | ||
106 | */ | 109 | */ |
107 | #define GNUNET_APPLICATION_TYPE_MQTT 23 | 110 | #define GNUNET_APPLICATION_TYPE_MQTT 23 |
108 | 111 | ||
109 | /** | 112 | /** |
110 | * Application receiving sensor measurements from peers | ||
111 | */ | ||
112 | #define GNUNET_APPLICATION_TYPE_SENSORDASHBOARD 24 | ||
113 | |||
114 | /** | ||
115 | * Application offering sensor updates | ||
116 | */ | ||
117 | #define GNUNET_APPLICATION_TYPE_SENSORUPDATE 25 | ||
118 | |||
119 | /** | ||
120 | * Multicast data. | 113 | * Multicast data. |
114 | * @deprecated | ||
121 | */ | 115 | */ |
122 | #define GNUNET_APPLICATION_TYPE_MULTICAST 26 | 116 | #define GNUNET_APPLICATION_TYPE_MULTICAST 26 |
123 | 117 | ||
124 | /** | ||
125 | * Vectorproduct, ECC variant. Used for two-peer scalarproduct operations | ||
126 | */ | ||
127 | #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT_ECC 27 | ||
128 | 118 | ||
129 | #if 0 /* keep Emacsens' auto-indent happy */ | 119 | #if 0 /* keep Emacsens' auto-indent happy */ |
130 | { | 120 | { |