header.caplen is greater than header.len

25 views
Skip to first unread message

Pendkar sai kiran

unread,
Sep 22, 2015, 2:22:19 PM9/22/15
to pcapr-forum
Hi actually according to my understanding the caplen of the packet should always be less than that of the len of the packet but i got wierd results. Please check this and comment your suggestion pls.

printf("Captured a packet with size %d and caplength is %d", header.len, header.caplen);

Captured a packet with size 32683 and caplength is 1490705784

Guy Harris

unread,
Sep 22, 2015, 3:01:34 PM9/22/15
to pcapr...@googlegroups.com
That means there’s a bug somewhere.

What program printed that message? Is it doing a live capture or is it reading from a capture file?
Reply all
Reply to author
Forward
0 new messages