Ethereal-dev: Re: [ethereal-dev] ISO/OSI CLNP & COTP packet decoding + misc

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

From: gram@xxxxxxxxxxxxxxxxxxx (Gilbert Ramirez Jr.)
Date: Tue, 15 Sep 1998 08:05:39 -0500 (CDT)
As Laurent Deniel said:
> 
>  Third, I would like to know if everybody is agree to replace the "No"
>  (first column of the packet list) by a "Time" field which will display
>  the timestamp (from the captured file) "00:00:00.000000". If so, I have
>  a patch.
>  
>  But as Gerald suggested, it would be nice to have fully configurable 
>  columns, so maybe we should add/find a new mechanism for referencing 
>  columns instead of win_info[i] that are hand-crafted in the code ...

Yes, the best option would be to have configurable columns. Sometimes I
want packet number, sometimes I want Time, sometimes I want Delta Time from
previous packet, and sometimes I want all three!

We could still use win_info[] arrays. The Time could be win_info[5], and
Delta Time could be win_info[6]. The GUI could display only certain
columns, or all columns.

But then we'd at least want some macros:

win_info[WINFO_PACKET_NUM]
win_info[WINFO_SRC]
win_info[WINFO_DST]
win_info[WINFO_PROTOCOL]
win_info[WINFO_DESCRIPTION]
win_info[WINFO_TIME]
win_info[WINFO_DTIME]

perhaps?

--gilbert

-- 
Gilbert Ramirez                Voice:  +1 210 358 4032
Technical Services             Fax:    +1 210 358 1122
University Health System       San Antonio, Texas, USA