fixing 2012: network structure alignment now forced to be correct even on W32 using...
[oweals/gnunet.git] / src / nat / nat.h
index bff444e6d299f41d4693619867612bb417e40482..efab3a7a7761922afc268b796d77f173d69a7f0a 100644 (file)
 #define NAT_H
 #include "gnunet_util_lib.h"
 
+#define DEBUG_NAT GNUNET_EXTRA_LOGGING
+
+GNUNET_NETWORK_STRUCT_BEGIN
+
 /**
  * Request to test NAT traversal.
  */
@@ -35,17 +39,17 @@ struct GNUNET_NAT_TestMessage
 {
   /**
    * Header with type "GNUNET_MESSAGE_TYPE_NAT_TEST"
-   */ 
+   */
   struct GNUNET_MessageHeader header;
 
   /**
    * IPv4 target IP address
-   */ 
+   */
   uint32_t dst_ipv4;
 
   /**
    * Port to use, 0 to send dummy ICMP response.
-   */ 
+   */
   uint16_t dport;
 
   /**
@@ -59,5 +63,6 @@ struct GNUNET_NAT_TestMessage
   int32_t is_tcp;
 
 };
+GNUNET_NETWORK_STRUCT_END
 
 #endif