aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
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 @@
34 */ 34 */
35#define MAC_ADDR_SIZE 6 35#define MAC_ADDR_SIZE 6
36 36
37GNUNET_NETWORK_STRUCT_BEGIN
37/** 38/**
38 * A MAC Address. 39 * A MAC Address.
39 */ 40 */
40struct MacAddress 41struct GNUNET_TRANSPORT_WLAN_MacAddress
41{ 42{
42 uint8_t mac[MAC_ADDR_SIZE]; 43 uint8_t mac[MAC_ADDR_SIZE];
43}; 44};
44 45
45
46GNUNET_NETWORK_STRUCT_BEGIN
47
48/** 46/**
49 * Format of a WLAN Control Message. 47 * Format of a WLAN Control Message.
50 */ 48 */
51struct GNUNET_TRANSPORT_WLAN_HelperControlMessage 49struct GNUNET_TRANSPORT_WLAN_HelperControlMessage
52{ 50{
53 /** 51 /**
54 * Message header. FIXME: type? 52 * Message header. Type is
53 * GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL
55 */ 54 */
56 struct GNUNET_MessageHeader hdr; 55 struct GNUNET_MessageHeader hdr;
57 56
58 /** 57 /**
59 * MAC Address. FIXME: of what? 58 * MAC Address of the local WLAN interface.
60 */ 59 */
61 struct MacAddress mac; 60 struct GNUNET_TRANSPORT_WLAN_MacAddress mac;
62}; 61};
63GNUNET_NETWORK_STRUCT_END 62GNUNET_NETWORK_STRUCT_END
64 63
65/** 64/**
66 * GNUnet bssid 65 * GNUnet bssid
67 */ 66 */
68static const struct MacAddress mac_bssid_gnunet = { 67static const struct GNUNET_TRANSPORT_WLAN_MacAddress mac_bssid_gnunet = {
69 {0x13, 0x22, 0x33, 0x44, 0x55, 0x66} 68 {0x13, 0x22, 0x33, 0x44, 0x55, 0x66}
70}; 69};
71 70
@@ -73,7 +72,7 @@ static const struct MacAddress mac_bssid_gnunet = {
73/** 72/**
74 * Broadcast MAC 73 * Broadcast MAC
75 */ 74 */
76static const struct MacAddress bc_all_mac = { 75static const struct GNUNET_TRANSPORT_WLAN_MacAddress bc_all_mac = {
77 {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} 76 {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
78}; 77};
79 78