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 <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to