summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-28 16:19:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-28 16:19:04 +0000
commit0e90e90f510428a7d3ed92add2cb4bf93595a6cf (patch)
treec24132b58679740328cc98e128602fc85f01d5c5 /src/transport/plugin_transport_wlan.h
parent2f4b20ea2c334ce412dbc1fe29253cc110765205 (diff)
-some code cleanup
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index b0b8b966a..9e1bc4f22 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -34,38 +34,37 @@
*/
#define MAC_ADDR_SIZE 6
+GNUNET_NETWORK_STRUCT_BEGIN
/**
* A MAC Address.
*/
-struct MacAddress
+struct GNUNET_TRANSPORT_WLAN_MacAddress
{
uint8_t mac[MAC_ADDR_SIZE];
};
-
-GNUNET_NETWORK_STRUCT_BEGIN
-
/**
* Format of a WLAN Control Message.
*/
struct GNUNET_TRANSPORT_WLAN_HelperControlMessage
{
/**
- * Message header. FIXME: type?
+ * Message header. Type is
+ * GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL
*/
struct GNUNET_MessageHeader hdr;
/**
- * MAC Address. FIXME: of what?
+ * MAC Address of the local WLAN interface.
*/
- struct MacAddress mac;
+ struct GNUNET_TRANSPORT_WLAN_MacAddress mac;
};
GNUNET_NETWORK_STRUCT_END
/**
* GNUnet bssid
*/
-static const struct MacAddress mac_bssid_gnunet = {
+static const struct GNUNET_TRANSPORT_WLAN_MacAddress mac_bssid_gnunet = {
{0x13, 0x22, 0x33, 0x44, 0x55, 0x66}
};
@@ -73,7 +72,7 @@ static const struct MacAddress mac_bssid_gnunet = {
/**
* Broadcast MAC
*/
-static const struct MacAddress bc_all_mac = {
+static const struct GNUNET_TRANSPORT_WLAN_MacAddress bc_all_mac = {
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
};