Wireshark mailing list archives

Re: Undefined reference to proto_tree_model_new


From: Beth <beth.tridium () gmail com>
Date: Wed, 20 Jun 2012 08:36:01 -0400

As far as I know, you learn it mostly by doing.  The documents such as they
are
give you a general idea, then you pick an existing dissector that's similar
to the
one you want to write, and do a lot of copy/paste/modify/delete until it
looks like
your protocol.

Then you come back here for help figuring out why it doesn't work.  ;)

Challenge #1 is getting your development environment set up so that you can
build
Wireshark.  Challenge #2 is figuring out which functions you have to
implement and
which ones you have to call, simply to get your plugin to work in the first
place.

I've attached a simple text file that lists the basic functions you need to
know in
order to write a dissector plugin.  Although it too may be out of date now,
as I
probably wrote it for 1.2....  :P

Attachment: wireshark_cliffsnotes.txt
Description:

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: