Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

reading pcap files with nanosecond precision

Wireshark UI displays packet arrival with nanosecond precision. libpcap uses timeval in pcap_pkthdr structure , which is returned by read pcap file routines . However timeval precision is in microseconds How can I read files and see timestamps with nsec ?