Wireshark-dev: Re: [Wireshark-dev] Embedding external program into wireshark menu
Hi
In principal there exists an interface called extcap, which allows it to implement separate utilities as capture interfaces. See sshdump or androiddump for example. Those interfaces then will create the pcap trace and wireshark can utilize them, as if they where a network card or similar.
For creating entries in the Wireshark toolbar, you will have to create a separate utility, which utilizes the plugin_if (see epan/plugin_if.h) interface. With that you can add a completely independant utility to Wireshark, which for example could present a graphical representation for a tap interface, or similar. It is currently not possible to start or stop a capture using this interface, but such methods could be easily implemented, similar to the configuration and frame jump features already present.
regards,
Roland