Wireshark-dev: [Wireshark-dev] new packet-usb-audio dissector?
From: Németh Márton <nm127@xxxxxxxxxxx>
Date: Sun, 09 Dec 2007 11:14:03 +0100
Hi,

I would like to implement the USB Audio Subclass
( http://www.usb.org/developers/devclass_docs/audio10.pdf ) dissector for
Wireshark, so I started to read the documentation. In "Wireshark Developer's
Guide" ( http://www.wireshark.org/docs/wsdg_html/#ChDissectSetup ) it was
recommended to start a new dissector to be a "plugin". Is this the recommended
format or should I start writing the new dissector into
wireshark/epan/packet-usb-audio.c? What are the drawbacks and gains writing a
plugin vs. writing a built-in dissector?

I also found the following sentece:
> "You can find a good example for these files in the h223 plugin directory."

However, the h223 packet dissector is located at wireshark/epan/dissectors/packet-h223.c,
so I assume it is not (or no longer) a plugin.

In the wireshark/doc/README.plugins (from current SVN), I found that I should take
the wireshark/plugins/agentx. So where should I start?

	Márton Németh