Ethereal-dev: Re: [ethereal-dev] pim(protocol independent multicast)

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 13 Oct 1999 15:57:00 -0500
On Wed, Oct 13, 1999 at 01:12:41PM -0500, Laurent Deniel wrote:
> 
> 
> I agree for the detailed window but having the proto/info fields in the
> summary list repaced by UDP while it is not really a simple IP+UDP packet
> is a bit confusing. The worst case for instance is having an UDP or NBNS
> info field when decoding an ICMP port unreachable message for instance
> (if we had called dissect_ip in dissect_icmp) ... Maybe some GUI options
> could be added to control the level of decoding (in the detailed tree as
> well as in the summary list window).

It should be fairly easy to add some options to be able to stop
the addition of information to the list of packets at any point.
If I say "don't show information above PIM in packet-list" (but do show
it in the protocol tree), dissect_pim() could detect that and do
some magic to the column pointers, so when dissect_ipv6() is called
and does its check_col() checks, it won't add info to the columnar list,
but it will add data to the protocol tree.

Would this alone be enough? Do you really want to stop decoding at
certain levels in the protocol tree?

--gilbert