This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can anyone give me the functional syntax and its description to create a dissector?

0

HI, Currently I put myself to write a dissector, for that first I have to understand the various "functional syntax and its descriptions" involved in dissector creation. Can any one give me the functional syntax for writing a dissector?

I read through the "http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html" link, but I need the syntax and description.

Thanks

asked 28 Nov '11, 06:19

JK7's gravatar image

JK7
31111214
accept rate: 0%

edited 29 Nov '11, 10:33

multipleinterfaces's gravatar image

multipleinte...
1.3k152340

Can you be more specific? Dissectors are written in C, so the "functional syntax" of a dissector is the same as the C programming language. The developer's guide chapter you link to provides a fairly thorough summary of how to create a dissector; if it is not enough information, you could also check doc/README.developer in the Wireshark sources.

(29 Nov '11, 08:44) multipleinte...