1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct ieee80211_radiotap_iterator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The 802.11 subsystems &#8211; for kernel developers"><link rel="up" href="bk01ch04.html" title="Chapter&#160;4.&#160;Utility functions"><link rel="prev" href="API-ieee80211-get-hdrlen-from-skb.html" title="ieee80211_get_hdrlen_from_skb"><link rel="next" href="bk01ch05.html" title="Chapter&#160;5.&#160;Data path helpers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct ieee80211_radiotap_iterator</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ieee80211-get-hdrlen-from-skb.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;4.&#160;Utility functions</th><td width="20%" align="right">&#160;<a accesskey="n" href="bk01ch05.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-ieee80211-radiotap-iterator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_radiotap_iterator &#8212; 
2  tracks walk thru present radiotap args
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct ieee80211_radiotap_iterator {
5  struct ieee80211_radiotap_header * _rtheader;
6  const struct ieee80211_radiotap_vendor_namespaces * _vns;
7  const struct ieee80211_radiotap_namespace * current_namespace;
8  unsigned char * _arg;
9  unsigned char * _next_ns_data;
10  __le32 * _next_bitmap;
11  unsigned char * this_arg;
12  int this_arg_index;
13  int this_arg_size;
14  int is_radiotap_ns;
15  int _max_length;
16  int _arg_index;
17  uint32_t _bitmap_shifter;
18  int _reset_on_ext;
19};  </pre></div><div class="refsect1"><a name="idp1113126732"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">_rtheader</span></dt><dd><p>
20pointer to the radiotap header we are walking through
21      </p></dd><dt><span class="term">_vns</span></dt><dd><p>
22vendor namespace definitions
23      </p></dd><dt><span class="term">current_namespace</span></dt><dd><p>
24pointer to the current namespace definition
25(or internally <code class="constant">NULL</code> if the current namespace is unknown)
26      </p></dd><dt><span class="term">_arg</span></dt><dd><p>
27next argument pointer
28      </p></dd><dt><span class="term">_next_ns_data</span></dt><dd><p>
29beginning of the next namespace's data
30      </p></dd><dt><span class="term">_next_bitmap</span></dt><dd><p>
31internal pointer to next present u32
32      </p></dd><dt><span class="term">this_arg</span></dt><dd><p>
33pointer to current radiotap arg; it is valid after each
34call to <code class="function">ieee80211_radiotap_iterator_next</code> but also after
35<code class="function">ieee80211_radiotap_iterator_init</code> where it will point to
36the beginning of the actual data portion
37      </p></dd><dt><span class="term">this_arg_index</span></dt><dd><p>
38index of current arg, valid after each successful call
39to <code class="function">ieee80211_radiotap_iterator_next</code>
40      </p></dd><dt><span class="term">this_arg_size</span></dt><dd><p>
41length of the current arg, for convenience
42      </p></dd><dt><span class="term">is_radiotap_ns</span></dt><dd><p>
43indicates whether the current namespace is the default
44radiotap namespace or not
45      </p></dd><dt><span class="term">_max_length</span></dt><dd><p>
46length of radiotap header in cpu byte ordering
47      </p></dd><dt><span class="term">_arg_index</span></dt><dd><p>
48next argument index
49      </p></dd><dt><span class="term">_bitmap_shifter</span></dt><dd><p>
50internal shifter for curr u32 bitmap, b0 set == arg present
51      </p></dd><dt><span class="term">_reset_on_ext</span></dt><dd><p>
52internal; reset the arg index to 0 when going to the
53next bitmap word
54      </p></dd></dl></div></div><div class="refsect1"><a name="idp1113138508"></a><h2>Description</h2><p>
55   Describes the radiotap parser state. Fields prefixed with an underscore
56   must not be used by users of the parser, only by the parser internally.
57</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-ieee80211-get-hdrlen-from-skb.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk01ch04.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="bk01ch05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">ieee80211_get_hdrlen_from_skb</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;5.&#160;Data path helpers</td></tr></table></div></body></html>
58