Ethereal-dev: Re: [Ethereal-dev] Plugin development

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: Mon, 12 Dec 2005 02:37:48 -0800
Jose Manuel Pardo wrote:

Can a pluging be associated to the ethertype field instead of a tcp or udp port?

Yes:

dissector_add("ethertype", {your Ethernet type value}, {your dissector handle});

I have a dissector that works fine when it is compiled as ethereal built-in dissector but when it is compiled as plugin I get errors in the registering process.

What errors does it get?