<div dir="ltr"><div class="gmail_quote">Hi friends,<br><div dir="ltr">I am new to this group and also pcap programming. <br>The problem is I want to parse some pcap dump file. This dump file contains 802.11 data. I am using pcap library for that. The main problem is i am not able to find the structure of 802.11 headers in C<br>

i am using this structure<br><br><br>typedef struct wi_frame {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_frameControl;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_duration;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_add1[3];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_add2[3];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_add3[3];<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_sequenceControl;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_int16_t wi_add4[3];<br>};<br><br><br>with this structure i am able to find frame control sequence control and duration easily but the problem is with add1,2,3 and 4. Can anybody please give me some pointer on this.<br>

Thanks in advance<br>Arun<br></div>
</div><br></div>