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: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 02 Dec 2005 00:07:50 -0800
Joerg Mayer wrote:
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

Should we have the Ethernet dissector load a list of Ethernet types and protocol names from a file, and generate the value_string table from that?