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

2013-06-21 Thread Guy Harris
On Jun 3, 2013, at 10:58 AM, Michael Richardson wrote: > Correct me if I'm wrong, but we have magic number differences when the > save file contents are different? Yes. 0xa1b2c3d4 for standard, 0xa1b23c4d for "same format except that the time stamps are in seconds and nanoseconds"; see libpca

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