Ethereal-dev: Re: [Ethereal-dev] RFC framework for graphical extensions like t he recent rate_
On Thu, 27 Jun 2002 21:28:44 +1000
in message 013b01c21dcd$cbd28d70$0901010a@C5043436
"Ronnie Sahlberg" <sahlberg@xxxxxxxxxxxxxxxx> wrote:
> Hi,
[cut]
> Why not use e.g. GNUPlot to print the graphs instead of coding it in GTK?
> Actually an excellent idea. The rest of the proposed draft design will be
> based on using something that opens a pipe to write commands into GNUPlot
> and let gnuplot do all the drawing (which will then make sure the graphs
> will always look really nice and professional).
GNUPlot can do that? GNUPlot can read from a pipe and update image on the
screen when new data is avaiable?
[cut]
> Different types of filtering?
[cut]
> No new filtering, just apply proper displayfilters and the graphs will do
> the right thing.
ip.dst == 192.168.12.1 or ip.dst == 192.168.12.2
And now how can I graph 2 different rate/chart? Probably I have to applay a
new filter.
Can we do something like you proposed with color filter?
ip.dst == 192.168.12.1 => red
ip.dst == 192.168.12.2 => blue
and in the graph plugin code:
foreach(different_color)
do_something();
draw(); /* or send to GNUPlot */
It is correct/possible to do?
[cut]
> The following functions are required for an extension (No other calls across
> main ethereal nor global variables are allowed to make it easy to dlopen()
> convert it later to reduce bloat)
> (you dont like the name graph? neither do I, come up with something better)
Probably all the graphs will be releted to statistics function and there are
software that call this function "stat..." We could use 'stat'.
[cut]
> best regards
> ronnie sahlberg
best regards
FF