diff options
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r-- | src/transport/plugin_transport_wlan.h | 26 |
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 | */ | ||
47 | struct 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 |