Ethereal-dev: [Ethereal-dev] Request to add function name "dissect_snmp_pdu" to libethereal.de
Hi All,
Thanks for Guy Harris's help. I need to create a plugin to dissect a company proprietary protocol in which has packets with SNMP syntax. So I need to call "dissect_snmp_pdu()" in my dissector.
I want Ethereal developer can add function name "dissect_snmp_pdu" to libethereal.def in new version ethereal.
Thanks,
Chunfang
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Tuesday, October 05, 2004 3:23 AM
To: Ethereal development
Subject: Re: [Ethereal-dev] how to call function "dissect_snmp_pdu" in a plugin dissector
Liu Chunfang-CCL083 wrote:
> I'm developing a plugin in which I need to call function
> "dissect_snmp_pdu".
I.e., the protocol you're dissecting has packets in it with SNMP syntax
(just as the ATM ILMI protocol uses packets with SNMP syntax)?
> Do I need to add this function name to
> epan\libethereal.def ?
Yes, and you need to arrange that your plugin link with libethereal.lib.
> Is this the only way?
The other ways are
1) don't use Windows
and
2) add "dissect_snmp_pdu()" to the plugin API.
I assume you can't just do 1).
2) isn't any easier - in fact, it's more complicated - and we really
want to deprecate the plugin API mechanism.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-dev