Wireshark-dev: Re: [Wireshark-dev] My first Dissector-Plugin

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 11 Jun 2009 18:52:31 +0200
Hi,

Also have a look at doc/README.plugin to see what you need to do to incorporate your dissector into the build.

Thanx,
Jaap

yami wrote:
Hi,

I think the plug-in profinet (under plugins/profinet) is a good and simple example for your reference. Just grep profinet in Makefile.am, configure.in <http://configure.in> etc. will give your some useful info.

(Once upon a time, agentx is a simple example too, but unfortunately it has been moved out of plug-ins. Hope profinet can stay under plugins/ just for an easy example?)


On Thu, Jun 11, 2009 at 7:08 PM, <briefmeister@xxxxxx <mailto:briefmeister@xxxxxx>> wrote:

    Hello,

    I'm try to write my first dissector plugin for wireshark.

    To start I read the chapter 9.2 and 9.2.1 in the developer's guide.
    Now I has this files in my plugin dir:
    |-- Makefile.am
    |-- Makefile.common
    |-- Makefile.in
    |-- Makefile.nmake
    |-- moduleinfo.h
    |-- moduleinfo.nmake
    |-- packet-dpnetB.c
    |-- plugin.c
    |-- plugin.lo
    `-- plugin.rc.in <http://plugin.rc.in>

    By calling autoreconf in the basedir of wireshark-source, no
    Makefile for my plugin is gendered. I has never use the GNU
    Autotools an I doesn't know to compile the plugin.