aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r--src/nat/nat.h55
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 */
239struct 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 */
277struct 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 */
294struct GNUNET_NAT_AutoconfigRequestMessage 239struct GNUNET_NAT_AutoconfigRequestMessage