Ethereal-dev: Re: [Ethereal-dev] Protocol tree for filters

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

Date Next Thread Next
From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 1 Jan 2001 17:35:01 -0800
On Wed, Dec 06, 2000 at 03:39:51PM -0600, Jeff Foster wrote:
> I have written some code to add a filter string lookup tree into the filter
> dialog boxes.

I've constructed a more elaborate such dialog box, based on that; it
actually lets you construct an expression that tests a field, not just
select a field from a list.  The dialog box is modeled after that of
Microsoft Network Monitor.

If the field has a value_string table associated with it, you can select
the value from a list of the names in that table, rather than having to
memorize the values or look them up in some protocol spec.

> The code adds another button on the filter dialog box, "Tree...".

The button is now called "Add Expression...".

> The code does have some problems with multiple filter dialog boxes.

The filter dialog box code has problems with multiple filter dialog
boxes, which should be cleaned up; the "Add Expression" dialog box is
itself, however, reentrant (it uses no global variables).