Ethereal-dev: Re: [Ethereal-dev] Question about adding new protocol

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Wed, 29 Nov 2000 00:18:24 -0800
On Wed, Nov 29, 2000 at 04:08:02PM +0800, techishi@xxxxxxxxxxxxxx wrote:
> I am very happy to find out there is one such free packet sniffer
> called Ethereal. I got lots of benefit from Ethereal. Since I did
> not find out that GVRP was supported by Ethereal, I would like
> to contribute my own GVRP (GARP VLAN Registration Protocol) dissector
> to the community. I need to add some codes in packet-bpdu.c since
> GVRP shares the same LLC address as BPDU. I also wrote packet-gvrp.c
> and packet-gvrp.h files and compiled them under Microsoft Visual C++
> 6.0.

The way to send us your changes can be found on the

	http://www.ethereal.com/development.html

page; it says:

	If you make changes to Ethereal and would like to contribute
	them to the source tree, you should send your patches to the
	ethereal-dev mailing list.  There is an easy way to produce a
	patch using CVS:

	     o Put "diff -u" in your ~/.cvsrc, so that CVS produces
	       unified diffs.

	     o Generate a patch file using "cvs diff [file] > my.patch"

Then send to "ethereal-dev@xxxxxxxxxxxx" the patch, and the contents of
any new files (in your case, "packet-gvrp.c" and "packet-gvrp.h").

If you aren't using CVS, just use "diff -u" between the unmodified
version of "packet-bpdu.c" and your modified version.

If you don't have "diff", either

	1) get the Cygwin package from

		http://sources.redhat.com/cygwin/

	   and install it - it includes "diff"

or

	2) just send us the modified version of "packet-bpdu.c" and any
	   other files you modified.