Re: [tcpdump-workers] Fwd: Re: Printing nanosecond timestamp information in raw output

2012-12-28 Thread Guy Harris
On Dec 28, 2012, at 3:53 PM, Guy Harris wrote: > I would suggest, instead, that you: > > modify *libpcap*, so that it returns nanosecond-resolution time stamps; I would also suggest that you modify it to write out pcap files with a different magic number, so that, if you ever run tcpdum

Re: [tcpdump-workers] Fwd: Re: Printing nanosecond timestamp information in raw output

2012-12-28 Thread Guy Harris
On Dec 28, 2012, at 3:14 PM, Maik Jäkel wrote: > My target environment is android with a 2.6.35.14-kernel. > I realize that the timestamp is taken "a long time" after the reception of > the packet. I didn't know a better way, though and hoped that the execution > time between the reception of

[tcpdump-workers] Fwd: Re: Printing nanosecond timestamp information in raw output

2012-12-28 Thread Maik Jäkel
Sorry, I forgot to reply to the mailing list. My answer to Guy Harris is attached. Original-Nachricht Von: "Maik Jäkel" Gesendet: Sat Dec 29 00:12:03 MEZ 2012 An: Guy Harris Betreff: Re: [tcpdump-workers] Printing nanosecond timestamp information in raw output Thanks for yo

Re: [tcpdump-workers] Printing nanosecond timestamp information in raw output

2012-12-28 Thread Guy Harris
On Dec 28, 2012, at 1:15 PM, Maik Jäkel wrote: > for 2 days I'm now searching for the appropriate position to insert 5 lines > of code: Insert into tcpdump or insert into some other program? > I'm trying to print out a current timestamp with nanosecond accuracy between > every printed packet

[tcpdump-workers] Printing nanosecond timestamp information in raw output

2012-12-28 Thread Maik Jäkel
Hey everyone, for 2 days I'm now searching for the appropriate position to insert 5 lines of code: I'm trying to print out a current timestamp with nanosecond accuracy between every printed packet. I want to print packets in raw format / hex format and want to write down the exact time they wer