ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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.