From 7c1bbd6fd987b8ef8c0fbd5319279878430cf2c5 Mon Sep 17 00:00:00 2001 From: David Brodski Date: Wed, 22 Dec 2010 12:53:41 +0000 Subject: Errors fixed --- src/transport/plugin_transport_wlan.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 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 3c206a496..dd770e53e 100644 --- a/src/transport/plugin_transport_wlan.h +++ b/src/transport/plugin_transport_wlan.h @@ -32,6 +32,20 @@ typedef unsigned int uint32_t; typedef unsigned short uint16_t; + +struct MacAddress +{ + char mac[6]; +}; + +struct Wlan_Helper_Control_Message +{ + struct GNUNET_MessageHeader hdr; + struct MacAddress mac ; +}; + + + /* Wlan IEEE80211 header default */ //Informations (in German) http://www.umtslink.at/content/WLAN_macheader-196.html static const uint8_t u8aIeeeHeader[] = @@ -74,18 +88,18 @@ struct IeeeHeader /** * first mac byte 1 */ - uint8_t mac1[6]; + struct MacAddress mac1; /** * second mac */ - uint8_t mac2[6]; + struct MacAddress mac2; /** * third mac */ - uint8_t mac3[6]; + struct MacAddress mac3; /** * Wlan Sequence Control -- cgit v1.2.3