Hello,
I am a bit confused and missing some knowledge about the kernel & libc :
- I am trying to compile the latest libpcap 1.1.1 from github (
https://github.com/mcr/libpcap/tree/libpcap_1.1 ) (I am trying to build
because I need the fix from March 23, 2011 about packet capture size).
- My syste
Hello,
I wrote a program using libpcap 1.1.1.
The problem is that I uses pcap_set_snaplen and if i set it to for exemple
120, pkt_hdr->caplen is set at max to 106
other exemple :
128 -> 122
120 -> 106
68 -> 58
64 -> 58
32 -> 26
Am i missing something ? (i don't use cooked device, it is from eth0