Wireshark-dev: Re: [Wireshark-dev] Dissecting protocol running under UDP

Date: Mon, 12 Oct 2009 13:31:59 -0400
Ah, of course.  Thanks.

On Mon, Oct 12, 2009 at 1:20 PM, Jeff Morriss <jeff.morriss.ws@gmail.com> wrote:

4. Write another dissector that registers for the appropriate "udp.port"
and calls find_dissector("wpan") (or "wpan-nofcs" or one of the other
names for that dissector) to get a handle to the 802.15.4 dissector.
When this dissector is handed packets it can pass the appropriate part
of the payload to the built-in 802.15.4 dissector.

For a simple example of that, look at packet-mtp2.c who dissects MTP2
headers before passing the remaining payload to the MTP3 dissector.
___________________________________________________________________________