ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] multiple dissectors

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Mar 2010 21:41:41 -0600
On Thu, Feb 18, 2010 at 03:12:50PM -0500, Brian Oleksa wrote:

> Which means I have 2 of the following methods as well:
> 
> void proto_reg_handoff_test(void)
> void proto_reg_handoff_test2(void)
> 
> void proto_register_test(void)
> void proto_register_test2(void)
> 
> My question is... Is this good practice..?? Or should these be 
> separated..??

I would only put two dissectors in the same source file if they are 
for different versions of the same protocol.


-- 
Steve