1STRUCT IEEE80211_RAD(9) Utility functions STRUCT IEEE80211_RAD(9)
2
3
4
6 struct_ieee80211_radiotap_iterator - tracks walk thru present radiotap
7 args
8
10 struct ieee80211_radiotap_iterator {
11 struct ieee80211_radiotap_header * _rtheader;
12 const struct ieee80211_radiotap_vendor_namespaces * _vns;
13 const struct ieee80211_radiotap_namespace * current_namespace;
14 unsigned char * _arg;
15 unsigned char * _next_ns_data;
16 __le32 * _next_bitmap;
17 unsigned char * this_arg;
18 int this_arg_index;
19 int this_arg_size;
20 int is_radiotap_ns;
21 int _max_length;
22 int _arg_index;
23 uint32_t _bitmap_shifter;
24 int _reset_on_ext;
25 };
26
28 _rtheader
29 pointer to the radiotap header we are walking through
30
31 _vns
32 vendor namespace definitions
33
34 current_namespace
35 pointer to the current namespace definition (or internally NULL if
36 the current namespace is unknown)
37
38 _arg
39 next argument pointer
40
41 _next_ns_data
42 beginning of the next namespace's data
43
44 _next_bitmap
45 internal pointer to next present u32
46
47 this_arg
48 pointer to current radiotap arg; it is valid after each call to
49 ieee80211_radiotap_iterator_next but also after
50 ieee80211_radiotap_iterator_init where it will point to the
51 beginning of the actual data portion
52
53 this_arg_index
54 index of current arg, valid after each successful call to
55 ieee80211_radiotap_iterator_next
56
57 this_arg_size
58 length of the current arg, for convenience
59
60 is_radiotap_ns
61 indicates whether the current namespace is the default radiotap
62 namespace or not
63
64 _max_length
65 length of radiotap header in cpu byte ordering
66
67 _arg_index
68 next argument index
69
70 _bitmap_shifter
71 internal shifter for curr u32 bitmap, b0 set == arg present
72
73 _reset_on_ext
74 internal; reset the arg index to 0 when going to the next bitmap
75 word
76
78 Describes the radiotap parser state. Fields prefixed with an underscore
79 must not be used by users of the parser, only by the parser internally.
80
82 Johannes Berg <johannes@sipsolutions.net>
83 Author.
84
86Kernel Hackers Manual 3.10 June 2019 STRUCT IEEE80211_RAD(9)