tcpdump mailing list archives

Re: [libpcap][patch] appending to a capture


From: Guy Harris <guy () alum mit edu>
Date: Fri, 03 Jun 2011 17:26:43 -0700


On Jun 1, 2011, at 12:43 PM, Michael Richardson wrote:

So, you'd like to have pcap_reopen() then?

What would pcap_reopen() do?  Mark's new API has a reasonable name given what it does:

        1) it returns a pcap_dumper_t, not a pcap_t, so it should have "dump" in its name;

        2) it opens an existing pcap file for appending, so it should have "append" in its name.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: