Ethereal-dev: Re: [ethereal-dev] A PERL script to generate a prototype dissector file

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

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Fri, 25 Aug 2000 15:59:40 +0900
At 10:55 AM 8/28/00 +0200, Michael T�xen wrote:
>On Son, 27. Aug 2000, Richard Sharpe <sharpe@xxxxxxxxxx> wrote:
>
>>Hi,
>>
>>Attached is a PERL script that builds a prototype dissector.
>>
>>If we suggets that people who write dissectors use this to generate their
>>initial dissector, we have a number of advantages ...
>Hmm,
>it does not generate a prototype dissector. It only generates a prototype
>for a TCP-based dissector. Maybe it would be helpful to extend this to
>IP-, UDP, and SCTP based dissectors. 

Hmm, this is a valid point. It should be extended. I would suggest that
flags need to be passed to the script to manage that.

While there are example dissectors in the docs directory, people have to
make changes to them, while this one allows us a measure of control over
the format of new dissectors when we change things.

>Looking at the perl script I would suggest that some generic example
>dissectors
>are provided in the doc directory. I could provide an example for SCTP.
>
>Best regards
>Michael
>--
>e-mail: Michael.Tuexen@xxxxxxxxxxxxx
>

Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba