pypcap
pypcap copied to clipboard
Lacking nanosecond pcap support
Hi,
We have a PCAP file with nanosecond precision timestamps.
When we open it using pypcap
, it gives us timestamps with microsecond precision.
There seems to be a fork of this project which does seem to have support for the different pcap timestamp precisions (according to the source code): https://github.com/fasguard/fasguard-pcap/blob/master/fasguard_pcap/init.pyx
Would it be possible to include the timestamp precision support in this project?
With best regards, Tom.
This is a great idea. I would be glad to review and accept a PR adding support for this.
I've added a PR.