server/peer.c, etc.: Introduce who-goes-there protocol.
[tripe] / common / protocol.h
index e40cf17..be76191 100644 (file)
@@ -80,6 +80,9 @@
 #define MISC_EPONG 4u                  /* Encrypted ping response */
 #define MISC_GREET 5u                  /* A greeting from a NATed peer */
 #define MISC_BYE 6u                    /* Departure notification */
+#define MISC_WGT 7u                    /* You sent message: who are you? */
+
+#define WGTLEN 17u
 
 /* --- Symmetric encryption and keysets --- *
  *