Re: [tcpdump-workers] Recompile with different libpcap

2011-06-22 Thread Darren Reed
On 22/06/11 12:02 PM, Sanjay Sundaresan wrote: Hi I am trying to evaluate how tcpdump performs with different libpcap versions and other packet capture libraries. How do I re-compile TCPDUMP to work with a different libpacp ? Depend on the version changes, if tcpdump is dynamically linked

Re: [tcpdump-workers] Recompile with different libpcap

2011-06-22 Thread Guy Harris
On Jun 22, 2011, at 12:02 PM, Sanjay Sundaresan wrote: > I am trying to evaluate how tcpdump performs with different libpcap versions > and other packet capture libraries. "Other packet capture libraries"? Meaning "alternative implementations of the libpcap API" (the developers of which are en

[tcpdump-workers] Recompile with different libpcap

2011-06-22 Thread Sanjay Sundaresan
Hi I am trying to evaluate how tcpdump performs with different libpcap versions and other packet capture libraries. How do I re-compile TCPDUMP to work with a different libpacp ? -- Sanjay Sundaresan Grad Student Viterbi School of Engineering, USC - This is the tcpdump-workers list. Visit https:

Re: [tcpdump-workers] save PCAP packets into a file

2011-06-22 Thread Guy Harris
On Jun 22, 2011, at 10:48 AM, Alokat wrote: > I have to save some pcap packets into a file for later analyzing. > > But I have some problems with creating the pcap file for it. > Do I have to call first functions like fopen() to create a dump file? No. > Cause pcap_open_offline crashes if ther

[tcpdump-workers] save PCAP packets into a file

2011-06-22 Thread Alokat
Hi guys, I have to save some pcap packets into a file for later analyzing. But I have some problems with creating the pcap file for it. Do I have to call first functions like fopen() to create a dump file? Cause pcap_open_offline crashes if there is no file available under: const char* fname Reg