Ethereal-dev: [ethereal-dev] Packet List view (enable/disable display of attibutes)

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

Date Prev Thread Prev
From: "Hannes R. Boehm" <hannes@xxxxxxxxx>
Date: Wed, 30 Sep 1998 21:02:53 +0200
Hi, 

as I told you in my last mail, I'd like to add lookups for 
SRC-AS and DST-AS. 

Now I am facing the difficult desicion on how to integrate this into 
ethereal.

What I'd like to see is a option (in the not yet available options menu)
to enable disable the display of a certain attribute in the packet view window:

--------------------------------------------------
Options:
   enable SRC/DST AS lookups: yes
   show time information in packet list window: yes

result:
Nr. Time SRCAS DSTAS Source Destination Protocol Info

--------------------------------------------------
Options:
   enable SRC/DST AS lookups: no
   show time information in packet list window: no

result:
Nr. Source Destination Protocol Info

--------------------------------------------------

Maybe somone can help me with this.
(I don't have much experience with C userinterfaces (I'd preferr C++ :-)

Is there an easy way to do this ?
At the moment it looks like the BV TV PViews are hardcoded into ethereal.c.
(within the main() routine (maybe this should go into a seperate function ?)

Responses are welcome

Hannes

-- 
--
"The nice thing about standards is that there's so many to choose from." 
        -- Andrew S. Tanenbaum
!------------------------------------------------------------------!
  Hannes R. Boehm
        email   : hannes@xxxxxxxxx
        www     : http://hannes.boehm.org
        PGP-key : http://hannes.boehm.org/hannes-pgp.asc
!------------------------------------------------------------------!