aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-13 08:06:28 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-13 08:06:28 +0000
commitf9d82cbcd81da81a3e78bada99f54ccc7c9ac50b (patch)
tree24635e8bad579f156f4c8f2153c2d213a20f1850 /src/transport/plugin_transport_http.h
parent1a7597ebe84660f31cb5f5b22904641940ca86ab (diff)
downloadgnunet-f9d82cbcd81da81a3e78bada99f54ccc7c9ac50b.tar.gz
gnunet-f9d82cbcd81da81a3e78bada99f54ccc7c9ac50b.zip
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r--src/transport/plugin_transport_http.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h
index 16da05c32..dd0bc4b9d 100644
--- a/src/transport/plugin_transport_http.h
+++ b/src/transport/plugin_transport_http.h
@@ -261,6 +261,39 @@ struct Plugin
261}; 261};
262 262
263/** 263/**
264 * IPv4 addresses
265 */
266struct IPv4HttpAddress
267{
268 /**
269 * IPv4 address, in network byte order.
270 */
271 uint32_t ipv4_addr GNUNET_PACKED;
272
273 /**
274 * Port number, in network byte order.
275 */
276 uint16_t u4_port GNUNET_PACKED;
277};
278
279/**
280 * IPv4 addresses
281 */
282struct IPv6HttpAddress
283{
284 /**
285 * IPv6 address.
286 */
287 struct in6_addr ipv6_addr GNUNET_PACKED;
288
289 /**
290 * Port number, in network byte order.
291 */
292 uint16_t u6_port GNUNET_PACKED;
293};
294
295
296/**
264 * Session handle for connections. 297 * Session handle for connections.
265 */ 298 */
266struct Session 299struct Session