summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-23 17:35:48 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-23 17:35:48 +0000
commit50822db20c20816eff873c829b57c9552dd3f168 (patch)
treeec98ffb1abb61856062a4eeb41c5433019de58e0
parent0639111c675f7caddb777e8690eefc1cc383bff4 (diff)
downloadgnunet-50822db20c20816eff873c829b57c9552dd3f168.tar.gz
gnunet-50822db20c20816eff873c829b57c9552dd3f168.zip
define message types for new NAT service
-rw-r--r--src/include/gnunet_protocols.h55
1 files changed, 54 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 0da6780cb..aeb55f99f 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -2783,9 +2783,62 @@ extern "C"
2783 2783
2784 2784
2785/** 2785/**
2786 * Next available: 1060 2786 * Message to ask NAT service to register a client.
2787 */ 2787 */
2788#define GNUNET_MESSAGE_TYPE_NAT_REGISTER 1060
2788 2789
2790/**
2791 * Message to ask NAT service to handle a STUN packet.
2792 */
2793#define GNUNET_MESSAGE_TYPE_NAT_HANDLE_STUN 1061
2794
2795/**
2796 * Message to ask NAT service to request connection reversal.
2797 */
2798#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_CONNECTION_REVERSAL 1062
2799
2800/**
2801 * Message to from NAT service notifying us that connection reversal
2802 * was requested by another peer.
2803 */
2804#define GNUNET_MESSAGE_TYPE_NAT_CONNECTION_REVERSAL_REQUESTED 1063
2805
2806/**
2807 * Message to from NAT service notifying us that one of our
2808 * addresses changed.
2809 */
2810#define GNUNET_MESSAGE_TYPE_NAT_ADDRESS_CHANGE 1064
2811
2812/**
2813 * Message to from NAT service notifying us that one of our
2814 * "global" IPv4 addresses changed.
2815 */
2816#define GNUNET_MESSAGE_TYPE_NAT_IPV4_CHANGE 1065
2817
2818/**
2819 * Message to ask NAT service to test an address.
2820 */
2821#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_TEST 1066
2822
2823/**
2824 * Message from NAT service with the address test result.
2825 */
2826#define GNUNET_MESSAGE_TYPE_NAT_TEST_RESULT 1067
2827
2828/**
2829 * Message to ask NAT service to request autoconfiguration.
2830 */
2831#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG 1068
2832
2833/**
2834 * Message from NAT service with the autoconfiguration result.
2835 */
2836#define GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT 1069
2837
2838
2839/**
2840 * Next available: 1080
2841 */
2789 2842
2790 2843
2791/** 2844/**