summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2010-12-22 12:53:41 +0000
committerDavid Brodski <david@brodski.eu>2010-12-22 12:53:41 +0000
commit7c1bbd6fd987b8ef8c0fbd5319279878430cf2c5 (patch)
treef3bd2c246fcaacfd64bb108076e677b22470d738 /src/transport/plugin_transport_wlan.h
parent7d3268171b3ff537dd0e06600d7e009ce23a7afe (diff)
Errors fixed
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h20
1 files changed, 17 insertions, 3 deletions
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