aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-06 13:26:38 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-06 13:26:38 +0100
commit80e1315b56f559db60499f5373e90c293c5ab065 (patch)
tree3b279e6ac8e6298d7d9d96d12868f628a413939b /src/nat/nat.h
parent1b7f6eea0a06abab9b75b30f021aa6313fccfcd4 (diff)
downloadgnunet-80e1315b56f559db60499f5373e90c293c5ab065.tar.gz
gnunet-80e1315b56f559db60499f5373e90c293c5ab065.zip
separate service for autoconfiguration from NAT traversal
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r--src/nat/nat.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h
index 02bae71e9..d34900bd1 100644
--- a/src/nat/nat.h
+++ b/src/nat/nat.h
@@ -224,45 +224,6 @@ struct GNUNET_NAT_AddressChangeNotificationMessage
224}; 224};
225 225
226 226
227/**
228 * Client requesting automatic configuration.
229 */
230struct GNUNET_NAT_AutoconfigRequestMessage
231{
232 /**
233 * Header with type #GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG
234 */
235 struct GNUNET_MessageHeader header;
236
237 /* Followed by configuration (diff, serialized, compressed) */
238
239};
240
241
242/**
243 * Service responding with proposed configuration.
244 */
245struct GNUNET_NAT_AutoconfigResultMessage
246{
247 /**
248 * Header with type #GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT
249 */
250 struct GNUNET_MessageHeader header;
251
252 /**
253 * An `enum GNUNET_NAT_StatusCode` in NBO.
254 */
255 int32_t status_code GNUNET_PACKED;
256
257 /**
258 * An `enum GNUNET_NAT_Type` in NBO.
259 */
260 int32_t type GNUNET_PACKED;
261
262 /* Followed by configuration (diff, serialized, compressed) */
263};
264
265
266GNUNET_NETWORK_STRUCT_END 227GNUNET_NETWORK_STRUCT_END
267 228
268#endif 229#endif