#define NAT_H
#include "gnunet_util_lib.h"
+#define DEBUG_NAT GNUNET_EXTRA_LOGGING
+
+GNUNET_NETWORK_STRUCT_BEGIN
+
/**
* Request to test NAT traversal.
*/
{
/**
* 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;
/**
int32_t is_tcp;
};
+GNUNET_NETWORK_STRUCT_END
#endif