[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10408 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10408 - gnunet/src/include |
Date: |
Mon, 22 Feb 2010 15:34:18 +0100 |
Author: nevans
Date: 2010-02-22 15:34:18 +0100 (Mon, 22 Feb 2010)
New Revision: 10408
Modified:
gnunet/src/include/gnunet_protocols.h
Log:
message types for nat punching
Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h 2010-02-22 14:32:24 UTC (rev
10407)
+++ gnunet/src/include/gnunet_protocols.h 2010-02-22 14:34:18 UTC (rev
10408)
@@ -226,8 +226,33 @@
*/
#define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 41
+/**
+ * UDP NAT probe message, send from NAT'd peer to
+ * other peer to negotiate punched address/port
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_NAT_PROBE 55
/**
+ * UDP NAT probe reply, sent from a non-NAT'd peer to
+ * a NAT'd one to inform it we got the probe and of the
+ * address/port seen
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_NAT_PROBE_REPLY 56
+
+/**
+ * UDP NAT probe confirmation, sent from a NAT'd peer to
+ * a non-NAT'd one to inform it which port to send to us
+ * on
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_NAT_PROBE_CONFIRM 57
+
+/**
+ * UDP NAT probe keepalive, once a hole is punched the NAT'd peer
+ * needs to keep the hole alive
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_NAT_PROBE_KEEPALIVE 58
+
+/**
* Welcome message between TCP transports.
*/
#define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME 60
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10408 - gnunet/src/include,
gnunet <=