#include "gnunet_server_lib.h"
#include "plugin_transport_wlan.h"
-#define DEBUG 1
-
#define ARPHRD_IEEE80211 801
#define ARPHRD_IEEE80211_PRISM 802
#define ARPHRD_IEEE80211_FULL 803
-#define MAC_ADDR_SIZE 6
-
/**
* size of 802.11 address
*/
* which can be found in the iterator's this_arg_index member. This arg
* index corresponds to the IEEE80211_RADIOTAP_... defines.
*/
-int
+static int
ieee80211_radiotap_iterator_init (struct ieee80211_radiotap_iterator
*iterator,
struct ieee80211_radiotap_header
* can be changed by the caller. The args pointed to are in little-endian
* format.
*/
-int
+static int
ieee80211_radiotap_iterator_next (struct ieee80211_radiotap_iterator
*iterator)
{
#include <stdint.h>
#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