[Winpcap-users] pcap 802.11 header format

arun chhetri uhcops at gmail.com
Thu Oct 16 05:57:01 GMT 2008


Hi friends,
I am new to this group and also pcap programming.
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
i am using this structure


typedef struct wi_frame {
        u_int16_t wi_frameControl;
        u_int16_t wi_duration;
        u_int16_t wi_add1[3];
        u_int16_t wi_add2[3];
        u_int16_t wi_add3[3];
        u_int16_t wi_sequenceControl;
        u_int16_t wi_add4[3];
};


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.
Thanks in advance
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20081016/351a9782/attachment.htm


More information about the Winpcap-users mailing list