#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Client requesting automatic configuration.
struct GNUNET_MessageHeader header
Header with type #GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG.
Service responding with proposed configuration.
struct GNUNET_MessageHeader header
Header with type GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT.
int32_t type
An enum GNUNET_NAT_Type in NBO.
int32_t status_code
An enum GNUNET_NAT_StatusCode in NBO.
Request to test NAT traversal, sent to the gnunet-nat-server (not the service!).
uint32_t dst_ipv4
IPv4 target IP address.
uint16_t dport
Port to use, 0 to send dummy ICMP response.
int32_t is_tcp
GNUNET_YES for TCP, GNUNET_NO for UDP.
uint16_t data
Data to send OR advertised-port (in NBO) to use for dummy ICMP.
struct GNUNET_MessageHeader header
Header with type GNUNET_MESSAGE_TYPE_NAT_TEST.