Ethereal-dev: [Ethereal-dev] question regarding protocol dissector as plugin under ethereal-0.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Parul Singla" <parul@xxxxxxxxxxxxxx>
Date: Fri, 3 Oct 2003 15:23:59 -0700
Hi guys,
 I'm writing a plugin to dissect a frame. One frame consists of:
    our proprietary frame, followed by 802.11 frame

The plugin is for dissection of the proprietary frame.

1. I wrote proto_register_xxx() routine. It does not have any header, field
registration as of now. So this function just calls
proto_register_protocol(.....). The problem is when I run ethereal after
compilation and make, I do not see my protocol under Edit->protocols menu
where the list of all registered protocols are present, including the
plugin's like "pcli".

Readme.developer says that the file containing a dissector's "register"
routine must be added to "DISSECTOR_SOURCES" in Makefile.am" , but this is
true if its not a plugin. I have the file containing "register" routine
defined under "plugin_src" in ethereal-0.9.15/Makefile.am, since mine is a
plugin.


2. How do I call 802.11 frame dissector routines after dissection of our
proprietary frame?

Any help is appreciated.

Thanks and Regards,
-Parul