[Wireshark-dev] How to check whether a plugin is installed from inside a dissector ?

2008-06-18 Thread smit.rastogi

Hi all,

I am currently trying to decode the IEEE 802.16E TLV's that WIMAXASNCP is 
unable to, and I found out that the corresponding TLV's are already dissected 
in the Intel WiMAX plugin.

I have been trying to link up the two plugins so that the IEEE specified TLV's 
are dissected in WIMAXASNCP plugin using the functions available in the WIMAX 
plugin, while they still retain the necessary independence from each other.

For this, I am thinking of decoding only if I find a given plugin installed.Is 
there any way to check from inside a dissector whether a plugin is installed or 
not?


Cheers!!

Smit Rastogi
Wipro Technologies

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
https://wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] How to check whether a plugin is installed from inside a dissector ?

2008-06-18 Thread Jeff Morriss


[EMAIL PROTECTED] wrote:
 
 Hi all,
 
 I am currently trying to decode the IEEE 802.16E TLV's that WIMAXASNCP 
 is unable to, and I found out that the corresponding TLV's are already 
 dissected in the Intel WiMAX plugin.
 
 I have been trying to link up the two plugins so that the IEEE specified 
 TLV's are dissected in WIMAXASNCP plugin using the functions available 
 in the WIMAX plugin, while they still retain the necessary independence 
 from each other.
 
 For this, I am thinking of decoding only if I find a given plugin 
 installed.Is there any way to check from inside a dissector whether a 
 plugin is installed or not?

Would find_dissector() work?
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
https://wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] How to check whether a plugin is installed from inside a dissector ?

2008-06-18 Thread Martin Mathieson
On Wed, Jun 18, 2008 at 4:20 PM, Jeff Morriss [EMAIL PROTECTED]
wrote:



 [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  I am currently trying to decode the IEEE 802.16E TLV's that WIMAXASNCP
  is unable to, and I found out that the corresponding TLV's are already
  dissected in the Intel WiMAX plugin.
 
  I have been trying to link up the two plugins so that the IEEE specified
  TLV's are dissected in WIMAXASNCP plugin using the functions available
  in the WIMAX plugin, while they still retain the necessary independence
  from each other.
 
  For this, I am thinking of decoding only if I find a given plugin
  installed.Is there any way to check from inside a dissector whether a
  plugin is installed or not?

 Would find_dissector() work?


Even if you could detect that another dissector is present, could one plugin
dissector access  data exported from another plugin?

Would a preferred approach be to:
- move wimaxasncp to a builtin dissector
- export its dictionary object to plugins
- add the missing TLVs into the XML file that wimaxasncp parses
- use the exported dictionary in the wimax plugin contributed by Intel ?

I don't know how much commonality there is between the TLVs seen on the air
interface and those on the other interfaces (whose messages are decoded by
wimaxasncp).  Also, wimaxasncp is still at  version 1.0 of the protocol - I
don't know if one dictionary file could serve all interfaces and versions
simultaneously (I don't really know WiMAX).

Martin



 ___
 Wireshark-dev mailing list
 Wireshark-dev@wireshark.org
 https://wireshark.org/mailman/listinfo/wireshark-dev

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
https://wireshark.org/mailman/listinfo/wireshark-dev