From f20dc7a1d1d4c480c126dcfe992d16a3620069f4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Nov 2011 10:14:05 +0000 Subject: -some more wlan code cleanup --- src/transport/plugin_transport_wlan.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 628ec85c2..7f6668cd3 100644 --- a/src/transport/plugin_transport_wlan.h +++ b/src/transport/plugin_transport_wlan.h @@ -30,9 +30,14 @@ #include #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 -- cgit v1.2.3