[Winpcap-users] Finding header size.

amruta tilaye amruta.tilaye at yahoo.com
Fri Mar 17 20:44:31 GMT 2006


it's very strange...but yeah you have to check it yourself....I have written my own function for that....so that implies you have to know header length of all the concerned headers. I'm sure you know for ethernet it's 14. :)
   
  Amruta

Ramiro Polla <ramiro86 at hotmail.com> wrote:
  Hello,

Is there a way for winpcap to inform me the size of the ethernet (or 
whatever) header? Do I really have to check pcap_datalink(pd) myself?
I was wondering, since winpcap can tell me if it's an ip address or not, it 
must know the header size before the ip address.

Thanks,
Bye,
Ramiro Polla 
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060317/09f27ab1/attachment.htm


More information about the Winpcap-users mailing list