Ethereal-dev: [Ethereal-dev] How to add a subprotocol?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Mark Atwood <mra@xxxxxxxxx>
Date: 12 Oct 2000 17:03:43 -0700
The protocol I'm dissecting has a "header" portion, that contains
a "type field", and then a different "payload" for each type.

I'm stratagizing that while I could do it all in one dissector, it
would be "more correct", if possible, to use Ethereal's selection
machinery, and write seperate dissectors for each "type".

So a packet comes in, and the Ethernet dissector does it's thing, and
then then IP dissector does it, and then the UDP dissector does it's part,
and then my "main dissector" does the header, and then one of the
"sub dissector" does the payload.

Possible? Doable? Easy?

-- 
Mark Atwood   |
mra@xxxxxxxxx |
http://www.pobox.com/~mra