Ethereal-dev: Re: [Ethereal-dev] dissector for FrameRelay

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

From: Paul Ionescu <paul@xxxxxxxx>
Date: Tue, 09 Jan 2001 20:16:47 +0200
Guy Harris wrote:

> I changed "packet-fr.c to make "dissect_fr()" static and to register it
> as a dissector, and changed "packet-gre.c" to find the handle for the
> Frame Relay dissector and call it through the handle.

Hello Guy,

I have a (maybe silly) question.
When should I use register_dissector() along with find_dissector() and
call_dissector(), and when should I use the traditional way of
dissector_add() along with dissect_PROTO() ?

It says nothing about it in README.developer, and I don't know what
shall I use in the future dissectors (what is preffered).