Wireshark mailing list archives

Re: Dissecting protocol running under UDP


From: Beth <beth.tridium () gmail com>
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.
___________________________________________________________________________

___________________________________________________________________________
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: