X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftransport%2Fplugin_transport_tcp.c;h=e79440e5e59a368fe41657d4650c6df59a68e08a;hb=f181f6eaf8cdb1fdb47dc98cf171ad1be842b441;hp=1024b800804fc9738310677cb91cd9236fcbf20e;hpb=4a2c36e42252c354e3e67d7cb92f3c6dbc514f9a;p=oweals%2Fgnunet.git diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 1024b8008..e79440e5e 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -43,6 +43,8 @@ #define DEBUG_TCP_NAT GNUNET_EXTRA_LOGGING +GNUNET_NETWORK_STRUCT_BEGIN + /** * Initial handshake message for a session. */ @@ -78,7 +80,7 @@ struct TCP_NAT_ProbeMessage struct GNUNET_PeerIdentity clientIdentity; }; - +GNUNET_NETWORK_STRUCT_END /** * Context for sending a NAT probe via TCP. @@ -118,6 +120,8 @@ struct TCPProbeContext }; +GNUNET_NETWORK_STRUCT_BEGIN + /** * Network format for IPv4 addresses. */ @@ -152,7 +156,7 @@ struct IPv6TcpAddress uint16_t t6_port GNUNET_PACKED; }; - +GNUNET_NETWORK_STRUCT_END /** * Encapsulation of all of the state of the plugin.