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] About build-in dissector

From: Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx>
Date: Sun, 16 Aug 2009 17:47:22 +0200
Hey,

hui.song.m wrote:
Hi ~
I have written a dissector to decode my own protocol as a plugin of wireshark.
Now I want to learn how to add a build-in dissector to wireshark.
I have tried to modify both "wireshark/epan/dissectors/register.c" and "wireshark/epan/dissectors/makefile.nmake", which didn't work out. Will someone helps me with the exactly steps of adding a build-in dissector to wireshark...... Thanks a lot ~!

It should be as simple as adding your source and header files to DISSECTOR_SRC and DISSECTOR_INCLUDES respectively in epan/dissectors/Makefile.common

Best regards,
Kovarththanan Rajaratnam