tcpdump mailing list archives

Re: How to find the exact error happened when the


From: Shameem Ahamed <shameem.ahamed () hotmail com>
Date: Fri, 3 Apr 2009 10:23:41 +0530


Hello Aaron,

Thanks for the reply.

It works fine.


Regards,
Shameem

Date: Thu, 2 Apr 2009 15:30:11 -0700
Subject: Re: [tcpdump-workers] How to find the exact error happened when the 
From: synfinatic () gmail com
To: tcpdump-workers () lists tcpdump org

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.

_________________________________________________________________
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: