Wireshark-dev: Re: [Wireshark-dev] Dissectors

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 25 May 2007 17:05:47 +0200 (CEST)
Hi,

For one the eth_handle is most likely a module global variable, so used
elsewhere. Could you name the dissector you saw this in?

The other thing to notice is that it is not very smart to quote your
registration info, including password, in a public mailing list.....
Better change is REAL SOON NOW.

Thanx,
Jaap

On Fri, 25 May 2007, Nandakumar Muthuraj wrote:

>
> 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/YOUR NAME
>
>
> 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:
>
>   [HERE WAS YOUR PASSWORD]
>
> 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.
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>