diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:05:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:05:17 +0000 |
commit | 89975a4c15ba6829bcf10e3287aac013d2f58973 (patch) | |
tree | c06477a31ff8dead4cf88d6fd8ca73520206cfda /src/include | |
parent | 7884866ee7cf796384342d104944256192d774a0 (diff) | |
download | gnunet-89975a4c15ba6829bcf10e3287aac013d2f58973.tar.gz gnunet-89975a4c15ba6829bcf10e3287aac013d2f58973.zip |
stuff
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_protocols.h | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 59db0cd78..b37c92091 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -759,42 +759,42 @@ extern "C" | |||
759 | /** | 759 | /** |
760 | * Type of messages containing an UDP packet for a service | 760 | * Type of messages containing an UDP packet for a service |
761 | */ | 761 | */ |
762 | #define GNUNET_MESSAGE_TYPE_SERVICE_UDP 186 | 762 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP 186 |
763 | 763 | ||
764 | /** | 764 | /** |
765 | * Type of messages containing an UDP packet from a service | 765 | * Type of messages containing an UDP packet from a service |
766 | */ | 766 | */ |
767 | #define GNUNET_MESSAGE_TYPE_SERVICE_UDP_BACK 187 | 767 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK 187 |
768 | 768 | ||
769 | /** | 769 | /** |
770 | * Type of messages containing an TCP packet for a service | 770 | * Type of messages containing an TCP packet for a service |
771 | */ | 771 | */ |
772 | #define GNUNET_MESSAGE_TYPE_SERVICE_TCP 188 | 772 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_TCP 188 |
773 | 773 | ||
774 | /** | 774 | /** |
775 | * Type of messages containing an TCP packet from a service | 775 | * Type of messages containing an TCP packet from a service |
776 | */ | 776 | */ |
777 | #define GNUNET_MESSAGE_TYPE_SERVICE_TCP_BACK 189 | 777 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_TCP_BACK 189 |
778 | 778 | ||
779 | /** | 779 | /** |
780 | * Type of messages containing an UDP packet for a remote host | 780 | * Type of messages containing an UDP packet for a remote host |
781 | */ | 781 | */ |
782 | #define GNUNET_MESSAGE_TYPE_REMOTE_UDP 190 | 782 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_UDP 190 |
783 | 783 | ||
784 | /** | 784 | /** |
785 | * Type of messages containing an UDP packet from a remote host | 785 | * Type of messages containing an UDP packet from a remote host |
786 | */ | 786 | */ |
787 | #define GNUNET_MESSAGE_TYPE_REMOTE_UDP_BACK 191 | 787 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_UDP_BACK 191 |
788 | 788 | ||
789 | /** | 789 | /** |
790 | * Type of messages containing an TCP packet for a remote host | 790 | * Type of messages containing an TCP packet for a remote host |
791 | */ | 791 | */ |
792 | #define GNUNET_MESSAGE_TYPE_REMOTE_TCP 192 | 792 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_TCP 192 |
793 | 793 | ||
794 | /** | 794 | /** |
795 | * Type of messages containing an TCP packet from a remote host | 795 | * Type of messages containing an TCP packet from a remote host |
796 | */ | 796 | */ |
797 | #define GNUNET_MESSAGE_TYPE_REMOTE_TCP_BACK 193 | 797 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_TCP_BACK 193 |
798 | 798 | ||
799 | 799 | ||
800 | /******************************************************************************* | 800 | /******************************************************************************* |
@@ -804,11 +804,11 @@ extern "C" | |||
804 | /** | 804 | /** |
805 | * Type of messages to query the local service-dns | 805 | * Type of messages to query the local service-dns |
806 | */ | 806 | */ |
807 | #define GNUNET_MESSAGE_TYPE_LOCAL_QUERY_DNS 205 | 807 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_LOCAL_QUERY_DNS 205 |
808 | /** | 808 | /** |
809 | * Type of messages the local service-dns responds with | 809 | * Type of messages the local service-dns responds with |
810 | */ | 810 | */ |
811 | #define GNUNET_MESSAGE_TYPE_LOCAL_RESPONSE_DNS 206 | 811 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_LOCAL_RESPONSE_DNS 206 |
812 | /** | 812 | /** |
813 | * Type of messages to instruct the local service-dns to rehijack the dns | 813 | * Type of messages to instruct the local service-dns to rehijack the dns |
814 | */ | 814 | */ |
@@ -816,11 +816,11 @@ extern "C" | |||
816 | /** | 816 | /** |
817 | * Type of messages to send a DNS-query to another peer | 817 | * Type of messages to send a DNS-query to another peer |
818 | */ | 818 | */ |
819 | #define GNUNET_MESSAGE_TYPE_REMOTE_QUERY_DNS 208 | 819 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_QUERY_DNS 208 |
820 | /** | 820 | /** |
821 | * Type of messages to send a DNS-answer to another peer | 821 | * Type of messages to send a DNS-answer to another peer |
822 | */ | 822 | */ |
823 | #define GNUNET_MESSAGE_TYPE_REMOTE_ANSWER_DNS 209 | 823 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_ANSWER_DNS 209 |
824 | 824 | ||
825 | 825 | ||
826 | 826 | ||
@@ -1059,7 +1059,12 @@ extern "C" | |||
1059 | */ | 1059 | */ |
1060 | #define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 334 | 1060 | #define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 334 |
1061 | 1061 | ||
1062 | 1062 | /******************************************************************************* | |
1063 | * TODO: we need a way to register message types centrally (via some webpage). | ||
1064 | * For now: unofficial extensions should start at 48k, internal extensions | ||
1065 | * define here should leave some room (4-10 additional messages to the previous | ||
1066 | * extension). | ||
1067 | ******************************************************************************/ | ||
1063 | 1068 | ||
1064 | /** | 1069 | /** |
1065 | * Type used to match 'all' message types. | 1070 | * Type used to match 'all' message types. |