From b28504c9671f8b99b242f6fb2fb46822b8a626b3 Mon Sep 17 00:00:00 2001 From: David Brodski Date: Tue, 26 Jul 2011 22:54:20 +0000 Subject: Changed wlan plugin, now uses fragmentation lib --- src/transport/plugin_transport_wlan.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/transport/plugin_transport_wlan.h') 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 struct MacAddress mac; }; -/** - * Header for messages which need fragmentation - */ -struct FragmentationHeader -{ - - struct GNUNET_MessageHeader header; - - /** - * ID of message, to distinguish between the messages, picked randomly. - */ - uint32_t message_id GNUNET_PACKED; - - /** - * Offset or number of this fragment, for fragmentation/segmentation (design choice, TBD) - */ - uint16_t fragment_off_or_num GNUNET_PACKED; - - /** - * CRC of fragment (for error checking) - */ - uint16_t message_crc GNUNET_PACKED; - -// followed by payload - -}; /** * Header for messages which need fragmentation -- cgit v1.2.3