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

Wireshark-dev: Re: [Wireshark-dev] How to get the names of various existing dissectors

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 21 May 2008 07:37:42 +0200
Hi,

This only works for dissectors which register themselves by their name. Others simply create a handle and attach themselves to another dissectors list. I'm not sure if you can get a list out of Wireshark, but you can do the following in the source tree, in epan/dissectors:
`grep register_dissector\( *.c`

Thanx,
Jaap

detian.ge@xxxxxxxxxxxxx wrote:
Hi,
When I try to use Lua's Dissector.get() function to get the dissectors for some of the protocols, wireshark would complain for some of the protocols.
It seems name "dns", "pop3", "ipdc", and "rtsp" won't work for example but "radius", "http", and "sip" will work. If you know where/how I can get the list of the names for various existing dissectors, please let me know. Many thanks in advance.
Detian Ge