Wireshark-dev: Re: [Wireshark-dev] Adding a new data source

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 3 Dec 2011 09:15:03 -0800
On Dec 3, 2011, at 2:00 AM, Akos Vandra wrote:

> I have a custom interface generating packet data. I'd like to use
> wireshark to display them and dissect the packets.
> 
> The dissection I can do with dissector plugins, but how can I feed the
> packet data to wireshark?

Make a patch to libpcap/WinPcap to support your custom interface?  That way, not only will Wireshark support it without any changes, but other programs that use libpcap/WinPcap could support it as well.