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/>.
18 SPDX-License-Identifier: AGPL3.0-or-later
22 * @author Christian Grothoff
25 * Constants for network applications operating on top of the CADET service
27 * @defgroup applications CADET application definitions
28 * Constants for network applications operating on top of the CADET service.
32 #ifndef GNUNET_APPLICATIONS_H
33 #define GNUNET_APPLICATIONS_H
38 #if 0 /* keep Emacsens' auto-indent happy */
46 #define GNUNET_APPLICATION_TYPE_END 0
51 #define GNUNET_APPLICATION_TYPE_TEST 1
54 * Transfer of blocks for non-anonymmous file-sharing.
56 #define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER "fs-block"
59 * Transfer of blocks for random peer sampling.
61 #define GNUNET_APPLICATION_PORT_RPS "rps"
64 * Internet DNS resolution (external DNS gateway). This is a "well-known"
65 * service a peer may offer over CADET where the port is the hash of this
68 #define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER "exit-dns"
71 * Internet IPv4 gateway (any TCP/UDP/ICMP).
73 #define GNUNET_APPLICATION_PORT_IPV4_GATEWAY "exit-ipv4"
76 * Internet IPv6 gateway (any TCP/UDP/ICMP).
78 #define GNUNET_APPLICATION_PORT_IPV6_GATEWAY "exit-ipv6"
81 * Internet exit regex prefix. Consisting of application ID, followed
82 * by version and padding.
84 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
91 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
94 * Set. Used for two-peer set operations implemented using stream.
97 #define GNUNET_APPLICATION_TYPE_SET 19
100 * Conversation control data.
103 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
106 * Conversation audio data.
109 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
112 * MQTT publish-subscribe.
115 #define GNUNET_APPLICATION_TYPE_MQTT 23
121 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
124 #if 0 /* keep Emacsens' auto-indent happy */
131 /* ifndef GNUNET_APPLICATIONS_H */
134 /** @} */ /* end of group */
136 /* end of gnunet_applications.h */