diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-11-30 09:51:25 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-11-30 09:51:25 +0100 |
commit | 1466de299c038c5ef738271bd8040276f029e695 (patch) | |
tree | 50dfaa6cb9dadd31a1693aa3855686248161e6f4 /src/nat/nat.h | |
parent | 738cbe38dec2f275994c822631bf3aba02a6e6d0 (diff) | |
download | gnunet-1466de299c038c5ef738271bd8040276f029e695.tar.gz gnunet-1466de299c038c5ef738271bd8040276f029e695.zip |
decided to keep NAT test logic in client library
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r-- | src/nat/nat.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h index a385cede1..6df72c0ab 100644 --- a/src/nat/nat.h +++ b/src/nat/nat.h | |||
@@ -234,61 +234,6 @@ struct GNUNET_NAT_AddressChangeNotificationMessage | |||
234 | 234 | ||
235 | 235 | ||
236 | /** | 236 | /** |
237 | * Client requesting test of network connectivity. | ||
238 | */ | ||
239 | struct GNUNET_NAT_RequestTestMessage | ||
240 | { | ||
241 | /** | ||
242 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_REQUEST_TEST | ||
243 | */ | ||
244 | struct GNUNET_MessageHeader header; | ||
245 | |||
246 | /** | ||
247 | * Port to bind to, in NBO | ||
248 | */ | ||
249 | uint16_t bind_port GNUNET_PACKED; | ||
250 | |||
251 | /** | ||
252 | * Port external verifier should try to connect to, in NBO. | ||
253 | */ | ||
254 | uint16_t extern_port GNUNET_PACKED; | ||
255 | |||
256 | /** | ||
257 | * IPv4 to bind to, in NBO. | ||
258 | */ | ||
259 | struct in_addr bind_ip GNUNET_PACKED; | ||
260 | |||
261 | /** | ||
262 | * IPv4 external verifier should try to connect to, in NBO. | ||
263 | */ | ||
264 | struct in_addr extern_ip GNUNET_PACKED; | ||
265 | |||
266 | /** | ||
267 | * IP protocol to use, i.e. IPPROTO_UDP or IPPROTO_TCP. | ||
268 | */ | ||
269 | uint8_t proto; | ||
270 | |||
271 | }; | ||
272 | |||
273 | |||
274 | /** | ||
275 | * Service responding with network connectivity test result. | ||
276 | */ | ||
277 | struct GNUNET_NAT_TestResultMessage | ||
278 | { | ||
279 | /** | ||
280 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_TEST_RESULT | ||
281 | */ | ||
282 | struct GNUNET_MessageHeader header; | ||
283 | |||
284 | /** | ||
285 | * An `enum GNUNET_NAT_StatusCode` in NBO. | ||
286 | */ | ||
287 | int32_t status_code GNUNET_PACKED; | ||
288 | }; | ||
289 | |||
290 | |||
291 | /** | ||
292 | * Client requesting automatic configuration. | 237 | * Client requesting automatic configuration. |
293 | */ | 238 | */ |
294 | struct GNUNET_NAT_AutoconfigRequestMessage | 239 | struct GNUNET_NAT_AutoconfigRequestMessage |