GNUnet  0.10.x
Macros
CADET application definitions

Constants for network applications operating on top of the CADET service. More...

Macros

#define GNUNET_APPLICATION_TYPE_END   0
 End of list marker. More...
 
#define GNUNET_APPLICATION_TYPE_TEST   1
 Test. More...
 
#define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER   "fs-block"
 Transfer of blocks for non-anonymmous file-sharing. More...
 
#define GNUNET_APPLICATION_PORT_RPS   "rps"
 Transfer of blocks for random peer sampling. More...
 
#define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER   "exit-dns"
 Internet DNS resolution (external DNS gateway). More...
 
#define GNUNET_APPLICATION_PORT_IPV4_GATEWAY   "exit-ipv4"
 Internet IPv4 gateway (any TCP/UDP/ICMP). More...
 
#define GNUNET_APPLICATION_PORT_IPV6_GATEWAY   "exit-ipv6"
 Internet IPv6 gateway (any TCP/UDP/ICMP). More...
 
#define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX   "GNUNET-VPN-VER-0001-"
 Internet exit regex prefix. More...
 
#define GNUNET_APPLICATION_TYPE_CONSENSUS   18
 Consensus. More...
 
#define GNUNET_APPLICATION_TYPE_SET   19
 Set. More...
 
#define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL   21
 Conversation control data. More...
 
#define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO   22
 Conversation audio data. More...
 
#define GNUNET_APPLICATION_TYPE_MQTT   23
 MQTT publish-subscribe. More...
 
#define GNUNET_APPLICATION_TYPE_MULTICAST   26
 Multicast data. More...
 

Detailed Description

Constants for network applications operating on top of the CADET service.

Macro Definition Documentation

◆ GNUNET_APPLICATION_TYPE_END

#define GNUNET_APPLICATION_TYPE_END   0

End of list marker.

Definition at line 46 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_TEST

#define GNUNET_APPLICATION_TYPE_TEST   1

Test.

Definition at line 51 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER

#define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER   "fs-block"

Transfer of blocks for non-anonymmous file-sharing.

Definition at line 56 of file gnunet_applications.h.

Referenced by get_cadet(), GSF_cadet_start_server(), and reset_cadet().

◆ GNUNET_APPLICATION_PORT_RPS

#define GNUNET_APPLICATION_PORT_RPS   "rps"

Transfer of blocks for random peer sampling.

Definition at line 61 of file gnunet_applications.h.

Referenced by new_sub(), and run().

◆ GNUNET_APPLICATION_PORT_INTERNET_RESOLVER

#define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER   "exit-dns"

Internet DNS resolution (external DNS gateway).

This is a "well-known" service a peer may offer over CADET where the port is the hash of this string.

Definition at line 68 of file gnunet_applications.h.

Referenced by advertise_dns_exit(), and try_open_exit().

◆ GNUNET_APPLICATION_PORT_IPV4_GATEWAY

#define GNUNET_APPLICATION_PORT_IPV4_GATEWAY   "exit-ipv4"

Internet IPv4 gateway (any TCP/UDP/ICMP).

Definition at line 73 of file gnunet_applications.h.

Referenced by handle_regex_result(), and run().

◆ GNUNET_APPLICATION_PORT_IPV6_GATEWAY

#define GNUNET_APPLICATION_PORT_IPV6_GATEWAY   "exit-ipv6"

Internet IPv6 gateway (any TCP/UDP/ICMP).

Definition at line 78 of file gnunet_applications.h.

Referenced by handle_regex_result(), and run().

◆ GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX

#define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX   "GNUNET-VPN-VER-0001-"

Internet exit regex prefix.

Consisting of application ID, followed by version and padding.

Definition at line 84 of file gnunet_applications.h.

Referenced by create_channel_to_destination(), and run().

◆ GNUNET_APPLICATION_TYPE_CONSENSUS

#define GNUNET_APPLICATION_TYPE_CONSENSUS   18

Consensus.

Deprecated:

Definition at line 91 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_SET

#define GNUNET_APPLICATION_TYPE_SET   19

Set.

Used for two-peer set operations implemented using stream.

Deprecated:

Definition at line 97 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL

#define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL   21

Conversation control data.

Deprecated:

Definition at line 103 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO

#define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO   22

Conversation audio data.

Deprecated:

Definition at line 109 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_MQTT

#define GNUNET_APPLICATION_TYPE_MQTT   23

MQTT publish-subscribe.

Deprecated:

Definition at line 115 of file gnunet_applications.h.

◆ GNUNET_APPLICATION_TYPE_MULTICAST

#define GNUNET_APPLICATION_TYPE_MULTICAST   26

Multicast data.

Deprecated:

Definition at line 121 of file gnunet_applications.h.