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

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...
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×173
×158

question asked: 28 Nov '11, 06:19

question was seen: 2,458 times

last updated: 29 Nov '11, 10:33

p​o​w​e​r​e​d by O​S​Q​A