Wireshark mailing list archives
Re: Plugin Dissector vs Builtin Dissector
From: mmann78 () netscape net
Date: Wed, 23 Apr 2014 14:03:00 -0400 (EDT)
The short answer is "write it as a builtin" if you plan on submitting the dissector code to Wireshark. Plugins come with more "file bloat", so they are discouraged when becoming part of the official Wireshark source. Many developers start with the plugin for faster build time, when the dissector is in a early state (and there's a lot of "add some fields, see how it looks"). But as it becomes more stable and less rebuilding is necessary, they convert it to a builtin. And converting is basically just "trimming the file fat" of the plugin. -----Original Message----- From: Kevin Cox <kevincox () kevincox ca> To: wireshark-dev <wireshark-dev () wireshark org> Sent: Wed, Apr 23, 2014 1:22 pm Subject: [Wireshark-dev] Plugin Dissector vs Builtin Dissector Hello, Forgive me if this has been asked before but I can't find any resources about the advantages/disadvantages of plugin dissectors and the ideal cases for each. So far I have gathered that plugin dissectors are "easiest to write initially"[0] while builtin dissectors load slightly faster. [0] https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html I have read the README.{developer,dissector,plugin} and a number of others but can't find a resource to help me decide which to write. For the curious I will be working on a dissector for the Ceph[1] protocol as a gsoc project this summer and am trying to make the decision whether a builtin or plugin dissector would be preferred. [1] https://ceph.com/ Cheers, Kevin ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Plugin Dissector vs Builtin Dissector Kevin Cox (Apr 23)
- Re: Plugin Dissector vs Builtin Dissector mmann78 (Apr 23)
- <Possible follow-ups>
- Re: Plugin Dissector vs Builtin Dissector John Dill (Apr 23)