aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2011-07-26 22:54:20 +0000
committerDavid Brodski <david@brodski.eu>2011-07-26 22:54:20 +0000
commitb28504c9671f8b99b242f6fb2fb46822b8a626b3 (patch)
tree943b9248bba6cab8282a3e0ce5402373b6cb2f4f /src/transport/plugin_transport_wlan.h
parent4b05e36936d22d82c554519d540d92f4823ca885 (diff)
downloadgnunet-b28504c9671f8b99b242f6fb2fb46822b8a626b3.tar.gz
gnunet-b28504c9671f8b99b242f6fb2fb46822b8a626b3.zip
Changed wlan plugin, now uses fragmentation lib
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index 5c86c5bd0..8528d984a 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -41,32 +41,6 @@ struct Wlan_Helper_Control_Message
41 struct MacAddress mac; 41 struct MacAddress mac;
42}; 42};
43 43
44/**
45 * Header for messages which need fragmentation
46 */
47struct FragmentationHeader
48{
49
50 struct GNUNET_MessageHeader header;
51
52 /**
53 * ID of message, to distinguish between the messages, picked randomly.
54 */
55 uint32_t message_id GNUNET_PACKED;
56
57 /**
58 * Offset or number of this fragment, for fragmentation/segmentation (design choice, TBD)
59 */
60 uint16_t fragment_off_or_num GNUNET_PACKED;
61
62 /**
63 * CRC of fragment (for error checking)
64 */
65 uint16_t message_crc GNUNET_PACKED;
66
67// followed by payload
68
69};
70 44
71/** 45/**
72 * Header for messages which need fragmentation 46 * Header for messages which need fragmentation