Ethereal-dev: Re: Re: [Ethereal-dev] How to add a new item in menu bar?

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 3 May 2004 00:47:12 -0700
On Mon, May 03, 2004 at 07:42:25AM +0000, achraf laamarti  wrote:
>  But i still don't know what is a tap and how does it run?

See the README.tapping file in the "doc" directory of the Ethereal
source.

Most taps are implemented by

	1) adding to a dissector (in your case, the RADIUS dissector)
	   a call to "tap_queue_packet()" - that call supplies a
	   (static) data structure that contains information to be used
	   by the tap - and a "register_tap()" call in its registration
	   routine;

	2) for Ethereal taps (rather than Tethereal taps), adding a file
	   in the "gtk" directory with the tap handler.