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

Call_dissector?

0

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


2 Answers:

1

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.

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 ♦

0

answered 27 Nov '13, 01:35

lina's gravatar image

lina
11335
accept rate: 0%