Re: [tcpdump-workers] timestamp in pcap/tcpdump

2012-11-27 Thread Guy Harris
On Nov 26, 2012, at 12:56 AM, Cheng Cheng wrote: > In order to get the accurate receiving timestamp of a packet on the NIC > device not supporting hardware timestamping, can I modify the NIC device > driver code to update skb_shared_hwtstamp struct by using TSC in RX routine? Well, that's arg

Re: [tcpdump-workers] timestamp in pcap/tcpdump

2012-11-26 Thread Cheng Cheng
Hi Guy, Then I have another question regarding timestamp in pcap. In order to get the accurate receiving timestamp of a packet on the NIC device not supporting hardware timestamping, can I modify the NIC device driver code to update skb_shared_hwtstamp struct by using TSC in RX routine? Will pca

Re: [tcpdump-workers] timestamp in pcap/tcpdump

2012-11-25 Thread Guy Harris
On Nov 24, 2012, at 9:50 PM, abhinav narain wrote: > hi, > I am looking for timestamp provided by pcap header and later used by > tcpdump. > Seems like some of wireless drivers do not provide the mac tsf timestamp. > I can't figure out the timestamp meaning in pcap. > Its surely not the time wh

[tcpdump-workers] timestamp in pcap/tcpdump

2012-11-24 Thread abhinav narain
hi, I am looking for timestamp provided by pcap header and later used by tcpdump. Seems like some of wireless drivers do not provide the mac tsf timestamp. I can't figure out the timestamp meaning in pcap. Its surely not the time when packet arrived at the driver (referring to tsft). Looking at