Re: [tcpdump-workers] [libpcap] Make timestamps precision configurable (#303)

2013-06-03 Thread Michael Richardson
> "Michal" == Michal Sekletar writes: Michal> Two new functions are introduced, pcap_set_tstamp_precision() and Michal> pcap_get_tstamp_precision(). Those functions allow one to specify Michal> desired timestamps precision for captured packets. By default Michal> application w

[tcpdump-workers] libpcap can't capture IP fragments

2013-06-03 Thread wen lui
I want to capture UDP packets which are destined to a local port, the filtering expression is like udp port 2. I notice if there are IP fragmentation on a UDP packet, libpcap can only capture the first IP fragment. I guess the reason is the second IP fragment are not with UDP header (but with I

[tcpdump-workers] tcpdump (-i any) with vlan

2013-06-03 Thread Tsachi
I have a question regarding tcpdump (capturing all interfaces) and a strange capture I see. Environment: Linux Kernel 2.6.35.12 tcpdump version 4.4.0 libpcap version 1.4.0 2 Linux devices connected and configured with VLAN TAG (802.1q). I am pinging between the 2 device vlan interfaces, netwo