<div>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. :)</div> <div> </div> <div>Amruta<BR><BR><B><I>Ramiro Polla <ramiro86@hotmail.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hello,<BR><BR>Is there a way for winpcap to inform me the size of the ethernet (or <BR>whatever) header? Do I really have to check pcap_datalink(pd) myself?<BR>I was wondering, since winpcap can tell me if it's an ip address or not, it <BR>must know the header size before the ip address.<BR><BR>Thanks,<BR>Bye,<BR>Ramiro Polla <BR>_______________________________________________<BR>Winpcap-users mailing list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE><BR><p>
        
        
                <hr size=1>
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.