2 This file is part of GNUnet.
3 Copyright (C) 2011, 2016 GNUnet e.V.
5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details.
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 * @author Christian Grothoff
23 * Constants for network applications operating on top of the CADET service
25 * @defgroup applications CADET application definitions
26 * Constants for network applications operating on top of the CADET service.
30 #ifndef GNUNET_APPLICATIONS_H
31 #define GNUNET_APPLICATIONS_H
36 #if 0 /* keep Emacsens' auto-indent happy */
44 #define GNUNET_APPLICATION_TYPE_END 0
49 #define GNUNET_APPLICATION_TYPE_TEST 1
52 * Transfer of blocks for non-anonymmous file-sharing.
54 #define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER "fs-block"
57 * Transfer of blocks for random peer sampling.
59 #define GNUNET_APPLICATION_PORT_RPS "rps"
62 * Internet DNS resolution (external DNS gateway). This is a "well-known"
63 * service a peer may offer over CADET where the port is the hash of this
66 #define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER "exit-dns"
69 * Internet IPv4 gateway (any TCP/UDP/ICMP).
71 #define GNUNET_APPLICATION_PORT_IPV4_GATEWAY "exit-ipv4"
74 * Internet IPv6 gateway (any TCP/UDP/ICMP).
76 #define GNUNET_APPLICATION_PORT_IPV6_GATEWAY "exit-ipv6"
79 * Internet exit regex prefix. Consisting of application ID, followed
80 * by version and padding.
82 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
89 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
92 * Set. Used for two-peer set operations implemented using stream.
95 #define GNUNET_APPLICATION_TYPE_SET 19
98 * Conversation control data.
101 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
104 * Conversation audio data.
107 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
110 * MQTT publish-subscribe.
113 #define GNUNET_APPLICATION_TYPE_MQTT 23
119 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
122 #if 0 /* keep Emacsens' auto-indent happy */
129 /* ifndef GNUNET_APPLICATIONS_H */
132 /** @} */ /* end of group */
134 /* end of gnunet_applications.h */