Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Reusing Wireshark Code

From: Andreas Bakurov <andreasmk2@xxxxxxxxx>
Date: Sun, 18 Mar 2007 23:37:24 +0200
I'm writing a program that should parse TCP/IP packets, currently I'm
using libpcap for this purpose which doesn't help much (I should cast
each packet to the header structure).
Is there a way to reuse wireshark code ? is there documented API available?