wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
radiotap_iter.h
1 #ifndef __RADIOTAP_ITER_H
2 #define __RADIOTAP_ITER_H
3 
4 #include <stdint.h>
5 #include "radiotap.h"
6 
7 /* Radiotap header iteration
8  * implemented in radiotap.c
9  */
10 
12  uint8_t field;
13  uint8_t align:4, size:4;
14 };
15 
17  uint8_t align:4, size:4;
18 };
19 
21  const struct radiotap_align_size *align_size;
22  int n_bits;
23  uint32_t oui;
24  uint8_t subns;
25 };
26 
28  const struct ieee80211_radiotap_namespace *ns;
29  int n_ns;
30 };
31 
65  struct ieee80211_radiotap_header *_rtheader;
66  const struct ieee80211_radiotap_vendor_namespaces *_vns;
67  const struct ieee80211_radiotap_namespace *current_namespace;
68 
69  unsigned char *_arg, *_next_ns_data;
70  uint32_t *_next_bitmap;
71 
72  unsigned char *this_arg;
73 #ifdef RADIOTAP_SUPPORT_OVERRIDES
74  const struct radiotap_override *overrides;
75  int n_overrides;
76 #endif
77  int this_arg_index;
78  int this_arg_size;
79 
80  int is_radiotap_ns;
81 
82  int _max_length;
83  int _arg_index;
84  uint32_t _bitmap_shifter;
85  int _reset_on_ext;
86 };
87 
89  struct ieee80211_radiotap_iterator *iterator,
90  struct ieee80211_radiotap_header *radiotap_header,
91  int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns);
92 
94  struct ieee80211_radiotap_iterator *iterator);
95 
96 #endif /* __RADIOTAP_ITER_H */
Definition: radiotap_iter.h:16
Definition: radiotap.h:60
Definition: radiotap_iter.h:27
int ieee80211_radiotap_iterator_init(struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns)
radiotap parser iterator initialization
Definition: radiotap.c:89
int ieee80211_radiotap_iterator_next(struct ieee80211_radiotap_iterator *iterator)
return next radiotap parser iterator arg
Definition: radiotap.c:233
Definition: radiotap_iter.h:11
Definition: radiotap_iter.h:20
tracks walk thru present radiotap args
Definition: radiotap_iter.h:64