tcpdump mailing list archives
Re: NSEC magic number in savefile.c
From: Pierre KARAMPOURNIS <pkarampournis () gmail com>
Date: Thu, 21 May 2009 16:01:52 -0400
Hi, I agree that the modification I want to do is modifying the behaviour of libpcap in a way that the compatibility can't be assured. What I planned to do was creating a new compilation macro which will be defined if the user wants it (e.g. ./configure --enable-nsec-timestamp) that will modify the pcap_open_offline() function if the macro is defined in order to support nanosecond timestamps ONLY. Since I am not really familiar with the open source world I wanted to know if such a modification could be allowed in the main branch of libpcap or as a plugin. Thank you 2009/5/21 Guy Harris <guy () alum mit edu>
On May 14, 2009, at 11:58 AM, Pierre KARAMPOURNIS wrote: Furthermore, if we try to use tools using libpcap to read nsec-pcap files,it won't workWhat should "work" mean? It can't mean "supply time stamps with nanosecond precision", as that would break source and binary compatibility. There would have to be a different versions of pcap_open_offline() that causes nanosecond time stamps to be supplied. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
-- Pierre KARAMPOURNIS - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- NSEC magic number in savefile.c Pierre KARAMPOURNIS (May 14)
- Re: NSEC magic number in savefile.c Guy Harris (May 21)
- Re: NSEC magic number in savefile.c Pierre KARAMPOURNIS (May 21)
- Re: NSEC magic number in savefile.c Guy Harris (May 21)