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 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.
17 * @author Christian Grothoff
20 * Constants for network applications operating on top of the CADET service
22 * @defgroup applications CADET application definitions
23 * Constants for network applications operating on top of the CADET service.
27 #ifndef GNUNET_APPLICATIONS_H
28 #define GNUNET_APPLICATIONS_H
33 #if 0 /* keep Emacsens' auto-indent happy */
41 #define GNUNET_APPLICATION_TYPE_END 0
46 #define GNUNET_APPLICATION_TYPE_TEST 1
49 * Transfer of blocks for non-anonymmous file-sharing.
51 #define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER "fs-block"
54 * Transfer of blocks for random peer sampling.
56 #define GNUNET_APPLICATION_PORT_RPS "rps"
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
63 #define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER "exit-dns"
66 * Internet IPv4 gateway (any TCP/UDP/ICMP).
68 #define GNUNET_APPLICATION_PORT_IPV4_GATEWAY "exit-ipv4"
71 * Internet IPv6 gateway (any TCP/UDP/ICMP).
73 #define GNUNET_APPLICATION_PORT_IPV6_GATEWAY "exit-ipv6"
76 * Internet exit regex prefix. Consisting of application ID, followed
77 * by version and padding.
79 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
86 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
89 * Set. Used for two-peer set operations implemented using stream.
92 #define GNUNET_APPLICATION_TYPE_SET 19
95 * Conversation control data.
98 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
101 * Conversation audio data.
104 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
107 * MQTT publish-subscribe.
110 #define GNUNET_APPLICATION_TYPE_MQTT 23
116 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
119 #if 0 /* keep Emacsens' auto-indent happy */
126 /* ifndef GNUNET_APPLICATIONS_H */
129 /** @} */ /* end of group */
131 /* end of gnunet_applications.h */