Re: [tcpdump-workers] Fault in pcap_list_tstamp_types()?

2014-10-07 Thread Guy Harris
On Dec 2, 2013, at 5:50 AM, Anders Broman 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 abou

Re: [tcpdump-workers] Fault in pcap_list_tstamp_types()?

2014-10-07 Thread Morgan Yang
Anders Broman ericsson.com> writes: > > Hi, > Playing with this function I get > pcap_list_tstamp_types, num tstamp_types 3 > host > adapter_unsynced > adapter > > Then trying to set pcap_set_tstamp_type(pcap_h, PCAP_TSTAMP_ADAPTER); > > 'eth1' (SIOCSHWTSTAMP failed: Numerical result out of ra