tcpdump mailing list archives

Re: Fault in pcap_list_tstamp_types()?


From: Guy Harris <guy () alum mit edu>
Date: Tue, 7 Oct 2014 23:07:38 -0700


On Dec 2, 2013, at 5:50 AM, Anders Broman <anders.broman () ericsson com> wrote:

So it seems libpcap is reporting the availability of HW timestamp when in fact it's not available.

Somewhere between Linux 3.0 and Linux 3.6, the ethtool ioctl ETHTOOL_GET_TS_INFO was introduced; it allows userland to 
query the kernel about a particular device to find out what time stamp types it supports.

libpcap does not use that yet.

I have some code to do so, but have not yet had the opportunity to test it.

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: