Sure. packet-ip.c handles the IP and ICMP protocols.
For generating a dissector, you really need to understand what a
dissector looks like. Start with the doc/README.developer file. Then
you have to write a program to convert your input (XML) to the output
(a dissector C file).
FYI, these dissectors are generated from other sources in Ethereal:
packet-ncp2222.c
packet-dcerpc-atsvc.c
packet-dcerpc-initshutdown.c
packet-dcerpc-winreg.c
--gilbert
On 3/29/06, pserpinet@xxxxxxxx <pserpinet@xxxxxxxx> wrote:
> Hello,
>
> I would like to know if it is possible to manage simultaneously several
> protocols with the same dissector. The protocols to manage are very similar
> (header structure almost identical).
>
> I have a second question about tool to automatically generate a dissector. Could
> you tell me where I can find information on this subject. The imput file
> describing the protocol is an XML file.
>
> Thank you in advance.
>
> Philippe Serpinet.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>