Hello,

In /usr/include/linux/802_11.h 802.11 header is given as

struct ieee_802_11_header {
        u16     frame_control;// needs to be subtyped
        u16     duration;
        u8      mac1[6];
        u8      mac2[6];
        u8      mac3[6];
        u16     SeqCtl;
        u8      mac4[6];
        u16     gapLen;
        u8      gap[8];
};

Now I don't understand the meaning of last two fields. Those fields don't appear in 
802.11 MAC frame specification.

How can I scrape out IP header on 802.11 LAN.

Do libpcap have functions to directly get IP header in 802.11 frame.

Regards,

Tejas Kokje
Graduate Student (Computer Science)
University of Southern California
URL : http://www-scf.usc.edu/~kokje
Registered Linux User #: 337673

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to