[Winpcap-users] About the value returned by pcap_pkthdr...

Balazs, Monika monika.balazs at siemensvdo.com
Wed Oct 11 14:07:17 GMT 2006


I've descovered during testing that the structure pcap_pkthdr in it's
field len retains the value of the data received in a call pcap_next_ex.
My problem is that for packages with size lower then 60 len retains the
value 60, no matter the exact size of the packet that it has been
received. Only packets with yotal size grater than 60 have the len field
valid.
Is there any posibility to find out from where this defaul value 60 is
set and could be modified, becouse I have to build an application
capable of handling messeges with total size much smaller then 60...
 
Thank's a lot for further feedback...
 
Moni
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061011/7e180f79/attachment.htm


More information about the Winpcap-users mailing list