tcpdump mailing list archives

Printing nanosecond timestamp information in raw output


From: Maik Jäkel <email () maikjaekel de>
Date: Fri, 28 Dec 2012 22:15:04 +0100 (CET)

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 were received. 

Do you have a clue for me in which function I'll have to add the print?
I have added the print in a lot of places now, but as it seems they are not being called ;-)


Best regards and thanks a lot in advance,
Maik
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: