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.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index bf1a90dba..5fe9f166f 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -58,14 +58,16 @@ GNUNET_NETWORK_STRUCT_BEGIN
58/** 58/**
59 * A MAC Address. 59 * A MAC Address.
60 */ 60 */
61struct GNUNET_TRANSPORT_WLAN_MacAddress { 61struct GNUNET_TRANSPORT_WLAN_MacAddress
62{
62 uint8_t mac[MAC_ADDR_SIZE]; 63 uint8_t mac[MAC_ADDR_SIZE];
63}; 64};
64 65
65/** 66/**
66 * Format of a WLAN Control Message. 67 * Format of a WLAN Control Message.
67 */ 68 */
68struct GNUNET_TRANSPORT_WLAN_HelperControlMessage { 69struct GNUNET_TRANSPORT_WLAN_HelperControlMessage
70{
69 /** 71 /**
70 * Message header. Type is 72 * Message header. Type is
71 * GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL 73 * GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL
@@ -81,7 +83,8 @@ struct GNUNET_TRANSPORT_WLAN_HelperControlMessage {
81/** 83/**
82 * generic definitions for IEEE 802.3 frames 84 * generic definitions for IEEE 802.3 frames
83 */ 85 */
84struct GNUNET_TRANSPORT_WLAN_Ieee8023Frame { 86struct GNUNET_TRANSPORT_WLAN_Ieee8023Frame
87{
85 /** 88 /**
86 * Address 1: destination address in ad-hoc mode or AP, BSSID if station, 89 * Address 1: destination address in ad-hoc mode or AP, BSSID if station,
87 */ 90 */
@@ -102,7 +105,8 @@ struct GNUNET_TRANSPORT_WLAN_Ieee8023Frame {
102/** 105/**
103 * generic definitions for IEEE 802.11 frames 106 * generic definitions for IEEE 802.11 frames
104 */ 107 */
105struct GNUNET_TRANSPORT_WLAN_Ieee80211Frame { 108struct GNUNET_TRANSPORT_WLAN_Ieee80211Frame
109{
106 /** 110 /**
107 * 802.11 Frame Control field. A bitmask. The overall field is a 111 * 802.11 Frame Control field. A bitmask. The overall field is a
108 * 16-bit mask of the respecitve fields. The lowest two bits should 112 * 16-bit mask of the respecitve fields. The lowest two bits should
@@ -154,7 +158,8 @@ struct GNUNET_TRANSPORT_WLAN_Ieee80211Frame {
154 * Message from the plugin to the WLAN helper: send the given message with the 158 * Message from the plugin to the WLAN helper: send the given message with the
155 * given connection parameters. 159 * given connection parameters.
156 */ 160 */
157struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage { 161struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage
162{
158 /** 163 /**
159 * Type is 'GNUNET_MESSAGE_TYPE_WLAN_DATA_TO_HELPER'. 164 * Type is 'GNUNET_MESSAGE_TYPE_WLAN_DATA_TO_HELPER'.
160 */ 165 */
@@ -193,7 +198,8 @@ struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage {
193/** 198/**
194 * struct to represent infos gathered form the radiotap fields, see RadiotapHeader for more Infos 199 * struct to represent infos gathered form the radiotap fields, see RadiotapHeader for more Infos
195 */ 200 */
196struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage { 201struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage
202{
197 /** 203 /**
198 * Type is 'GNUNET_MESSAGE_TYPE_WLAN_DATA_FROM_HELPER'. 204 * Type is 'GNUNET_MESSAGE_TYPE_WLAN_DATA_FROM_HELPER'.
199 */ 205 */