Ethereal-dev: Re: [Ethereal-dev] How change the display of the ethertype in protocol tree

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 2 Dec 2005 08:11:04 +0100
On Fri, Dec 02, 2005 at 02:05:17PM +0800, Kelvin You wrote:
>         dissector_add("ethertype", 0x8888, scmu_handle);
> Now I can dissect the ethernet payload data. but in the ethernet header, the
> protocol tree still show the 0x8888 is "unknow" type.
> How can I change it to my protocol name ?

look at epan/etypes.h and epan/dissectors/packet-ethertype.c

 Ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.