diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ | |||
43 | 43 | ||
44 | #define DEBUG_TCP_NAT GNUNET_EXTRA_LOGGING | 44 | #define DEBUG_TCP_NAT GNUNET_EXTRA_LOGGING |
45 | 45 | ||
46 | GNUNET_NETWORK_STRUCT_BEGIN | ||
47 | |||
46 | /** | 48 | /** |
47 | * Initial handshake message for a session. | 49 | * Initial handshake message for a session. |
48 | */ | 50 | */ |
@@ -78,7 +80,7 @@ struct TCP_NAT_ProbeMessage | |||
78 | struct GNUNET_PeerIdentity clientIdentity; | 80 | struct GNUNET_PeerIdentity clientIdentity; |
79 | 81 | ||
80 | }; | 82 | }; |
81 | 83 | GNUNET_NETWORK_STRUCT_END | |
82 | 84 | ||
83 | /** | 85 | /** |
84 | * Context for sending a NAT probe via TCP. | 86 | * Context for sending a NAT probe via TCP. |
@@ -118,6 +120,8 @@ struct TCPProbeContext | |||
118 | }; | 120 | }; |
119 | 121 | ||
120 | 122 | ||
123 | GNUNET_NETWORK_STRUCT_BEGIN | ||
124 | |||
121 | /** | 125 | /** |
122 | * Network format for IPv4 addresses. | 126 | * Network format for IPv4 addresses. |
123 | */ | 127 | */ |
@@ -152,7 +156,7 @@ struct IPv6TcpAddress | |||
152 | uint16_t t6_port GNUNET_PACKED; | 156 | uint16_t t6_port GNUNET_PACKED; |
153 | 157 | ||
154 | }; | 158 | }; |
155 | 159 | GNUNET_NETWORK_STRUCT_END | |
156 | 160 | ||
157 | /** | 161 | /** |
158 | * Encapsulation of all of the state of the plugin. | 162 | * Encapsulation of all of the state of the plugin. |