Wireshark mailing list archives

Using wiretap library in a project


From: Neagaru Daniel <neagarudan () gmail com>
Date: Thu, 03 Jan 2013 17:06:40 +0100

Hello!

I am working on a C project, which uses the libpcap library to open the capture files. Due to wireshark's migration to pcap-ng, most of the capture files users give me, are pcap-ng format, so I can't use my code anymore, without converting every pcap-ng to libpcap. Other capture formats except pcap-ng and libpcap most probably won't be used, so I wanted to ask, is there any way to convert the format from the code, without the system() call to editcap? Or just open it as a simple libpcap file for further processing?

Cheers,
Daniel
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: