pynetwork / pypcap

pypcap - python libpcap module, forked from code.google.com/p/pypcap
Other
299 stars 75 forks source link

Lacking nanosecond pcap support #76

Open tomghyselinck opened 6 years ago

tomghyselinck commented 6 years ago

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.

hellais commented 6 years ago

This is a great idea. I would be glad to review and accept a PR adding support for this.

bmerry commented 5 years ago

I've added a PR.