[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38188 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38188 - gnunet/src/include |
Date: |
Sun, 23 Oct 2016 19:35:48 +0200 |
Author: grothoff
Date: 2016-10-23 19:35:48 +0200 (Sun, 23 Oct 2016)
New Revision: 38188
Modified:
gnunet/src/include/gnunet_protocols.h
Log:
define message types for new NAT service
Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h 2016-10-23 17:11:37 UTC (rev
38187)
+++ gnunet/src/include/gnunet_protocols.h 2016-10-23 17:35:48 UTC (rev
38188)
@@ -2783,12 +2783,65 @@
/**
- * Next available: 1060
+ * Message to ask NAT service to register a client.
*/
+#define GNUNET_MESSAGE_TYPE_NAT_REGISTER 1060
+/**
+ * Message to ask NAT service to handle a STUN packet.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_HANDLE_STUN 1061
+/**
+ * Message to ask NAT service to request connection reversal.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_CONNECTION_REVERSAL 1062
/**
+ * Message to from NAT service notifying us that connection reversal
+ * was requested by another peer.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_CONNECTION_REVERSAL_REQUESTED 1063
+
+/**
+ * Message to from NAT service notifying us that one of our
+ * addresses changed.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_ADDRESS_CHANGE 1064
+
+/**
+ * Message to from NAT service notifying us that one of our
+ * "global" IPv4 addresses changed.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_IPV4_CHANGE 1065
+
+/**
+ * Message to ask NAT service to test an address.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_TEST 1066
+
+/**
+ * Message from NAT service with the address test result.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_TEST_RESULT 1067
+
+/**
+ * Message to ask NAT service to request autoconfiguration.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG 1068
+
+/**
+ * Message from NAT service with the autoconfiguration result.
+ */
+#define GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT 1069
+
+
+/**
+ * Next available: 1080
+ */
+
+
+/**
* Type used to match 'all' message types.
*/
#define GNUNET_MESSAGE_TYPE_ALL 65535
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38188 - gnunet/src/include,
gnunet <=