We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: [Wireshark-dev] multiple dissectors

From: Brian Oleksa <[email protected]>
Date: Thu, 18 Feb 2010 15:12:50 -0500

Right now I have basically 2 dissectors in one C file. For example:

I have    void dissect_test
            void dissect_test2

All in the same file called packet-testing.c

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..??