tcpdump mailing list archives
Re: How to find the exact error happened when the
From: Aaron Turner <synfinatic () gmail com>
Date: Thu, 2 Apr 2009 15:30:11 -0700
On Wed, Apr 1, 2009 at 10:36 PM, Shameem Ahamed <shameem.ahamed () hotmail com> wrote:
Hi All, I am calling the pcap_loop function with a count of -1 (I want to process all the packets in the captured pcap file.). After the first correct packet (packet with a valid payload), pcap_loop terminates with a -1, which indicates an internal error . Am i correct ?. How can i know the exact error message, as we are not passing any errorbuff we can't use it rt?.
pcap_geterr()? -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- How to find the exact error happened when the pcap_loop returns -1 Shameem Ahamed (Apr 01)
- Re: How to find the exact error happened when the Aaron Turner (Apr 02)
- Re: How to find the exact error happened when the Shameem Ahamed (Apr 02)
- Re: How to find the exact error happened when the Aaron Turner (Apr 02)