tcpdump mailing list archives

Re: Changing the savefiles produces packet loss


From: Guy Harris <guy () alum mit edu>
Date: Tue, 4 Apr 2006 19:52:54 -0700

(blah blah blah original reply sent from the wrong address blah blah blah text to fool the duplicate message detector blah blah blah blah).

On Apr 3, 2006, at 6:20 AM, David Rosal wrote:

It would help if that would be any way to close the old file asynchronously, but I guess that pcap_dump_close() blocks until the savefile is closed, isn't it?

Yes. It would be somewhat strange if a routine defined to close a savefile were *not* to block until it's closed....

Note also that changing savefiles also involves opening a new savefile, which also blocks (because that's the way the OS works).
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: