HKDF (does not work yet)
[oweals/gnunet.git] / src / include / gnunet_protocols.h
index 069c6d5eea31a83a6eca5be16198aa76e9699aaa..bfa1314c9dff18065a6cf5da23f0aa4e40be13e9 100644 (file)
@@ -40,11 +40,6 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_TEST 0
 
-/**
- * Request service shutdown.
- */
-#define GNUNET_MESSAGE_TYPE_SHUTDOWN 1
-
 
 /**
  * Request DNS resolution.
@@ -105,17 +100,15 @@ extern "C"
 #define GNUNET_MESSAGE_TYPE_ARM_IS_UNKNOWN 12
 
 /**
- * Acknowledge service shutting down, disconnect
- * indicates service stopped.
+ * Request ARM service shutdown.
  */
-#define GNUNET_MESSAGE_TYPE_SHUTDOWN_ACK 13
+#define GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN 13
 
 /**
- * Deny service shutdown, disconnect indicates
- * service won't be stopped as a result of shutdown
- * message.
+ * Acknowledge service shutting down, disconnect
+ * indicates service stopped.
  */
-#define GNUNET_MESSAGE_TYPE_SHUTDOWN_REFUSE 14
+#define GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN_ACK 14
 
 /**
  * HELLO message used for communicating peer addresses.
@@ -277,6 +270,22 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_DV_DISCONNECT 50
 
+/**
+ * TCP NAT probe message, send from NAT'd peer to
+ * other peer to establish bi-directional communication
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_NAT_PROBE 51
+
+/**
+ * Normal UDP message type.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_MESSAGE 52
+
+/**
+ * Fragmented part of a UDP message.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_MESSAGE_PART 53
+
 /**
  * UDP NAT probe message, send from NAT'd peer to
  * other peer to negotiate punched address/port