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

Hello,

I'm developing a plugin for Wireshark. I'm trying to understand the 802.15.4 dissector and I would like to know, where is "call_dissector" function defined? And if it's possible to have a reference of the functions that Wireshark implements and where are defined?

Thanks,

asked 25 Nov '13, 02:40

lina's gravatar image

lina
11335
accept rate: 0%

edited 25 Nov '13, 06:23

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142


The call_dissector function is defined in epan/packet.c. In revision 53559, the current revision as of this writing, you can find it defined from lines 2137-2142.

The best reference for Wireshark is the source files themselves. Most of the core dissection-related code is in the epan/ directory. Run something like, "tree -d" to get a general idea of the directory layout. Use your favorite search tool, (e.g., grep) to help you find what you're looking for. The more you work with the sources, the easier it is to find everything.

permanent link

answered 25 Nov '13, 06:35

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

Thanks cmaynard!

(26 Nov '13, 02:09) lina

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(26 Nov '13, 03:25) grahamb ♦
permanent link

answered 27 Nov '13, 01:35

lina's gravatar image

lina
11335
accept rate: 0%

Your answer
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:

×1,620
×637
×16
×13

question asked: 25 Nov '13, 02:40

question was seen: 2,972 times

last updated: 27 Nov '13, 01:35

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