Wireshark-dev: [Wireshark-dev] Dissectors

From: "Nandakumar Muthuraj" <nandam@xxxxxxxxxx>
Date: Fri, 25 May 2007 10:51:53 -0400
 
Team,

I am a newbie to the wireshark development.

The code snippets for the registering a handoff for a protocol say XXX

I see the following lines 

   void proto_reg_handoff_XXX(void)
{
 find_dissector("data");
 find_dissector("ip");
 eth_handle = find_dissector("eth");
/* I don't see the eth _handle used anywhere here */

}

Why is the find_dissectors called witout using the hadles further in the
code.
This is similar code in may hand-off reg functions.
Am I Missing some thing obvious or is there a catch in way
find_dissectors work ?


Regards,
Nanda.




-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of
wireshark-dev-request@xxxxxxxxxxxxx
Sent: Friday, May 25, 2007 10:10 AM
To: Muthuraj, Nandakumar LTINFO (CAR:0000)
Subject: Welcome to the "Wireshark-dev" mailing list

Welcome to the Wireshark-dev@xxxxxxxxxxxxx mailing list!

To post to this list, send your email to:

  wireshark-dev@xxxxxxxxxxxxx

General information about the mailing list is at:

  http://www.wireshark.org/mailman/listinfo/wireshark-dev

If you ever want to unsubscribe or change your options (eg, switch to or
from digest mode, change your password, etc.), visit your subscription
page at:

 
http://www.wireshark.org/mailman/options/wireshark-dev/nandam%40nortel.c
om


You can also make such adjustments via email by sending a message to:

  Wireshark-dev-request@xxxxxxxxxxxxx

with the word `help' in the subject or body (don't include the quotes),
and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:

  mailbox

Normally, Mailman will remind you of your wireshark.org mailing list
passwords once every month, although you can disable this if you prefer.
This reminder will also include instructions on how to unsubscribe or
change your account options.  There is also a button on your options
page that will email your current password to you.