diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/transport/plugin_transport_wlan.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r-- | src/transport/plugin_transport_wlan.h | 18 |
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 | */ |
61 | struct GNUNET_TRANSPORT_WLAN_MacAddress { | 61 | struct 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 | */ |
68 | struct GNUNET_TRANSPORT_WLAN_HelperControlMessage { | 69 | struct 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 | */ |
84 | struct GNUNET_TRANSPORT_WLAN_Ieee8023Frame { | 86 | struct 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 | */ |
105 | struct GNUNET_TRANSPORT_WLAN_Ieee80211Frame { | 108 | struct 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 | */ |
157 | struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage { | 161 | struct 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 | */ |
196 | struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage { | 201 | struct 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 | */ |