diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-25 10:14:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-25 10:14:05 +0000 |
commit | f20dc7a1d1d4c480c126dcfe992d16a3620069f4 (patch) | |
tree | 24c7d5a2e5e5b31b7cec7e1692510d7d2a62b515 /src/transport/plugin_transport_wlan.h | |
parent | ea118db2ec2df22446216c9bf32c025dc4a805f5 (diff) |
-some more wlan code cleanup
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r-- | src/transport/plugin_transport_wlan.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h index 628ec85c2..7f6668cd3 100644 --- a/src/transport/plugin_transport_wlan.h +++ b/src/transport/plugin_transport_wlan.h @@ -30,9 +30,14 @@ #include <stdint.h> #include "gnunet_common.h" +/** + * Number fo bytes in a mac address. + */ +#define MAC_ADDR_SIZE 6 + struct MacAddress { - u_int8_t mac[6]; + uint8_t mac[MAC_ADDR_SIZE]; }; struct Wlan_Helper_Control_Message |