Hi,
I've just started looking through the Ethereal code and documents, so apologies
if this is covered elsewhere (but I haven't spotted it yet!).
Is it possible to chain dissectors together?
I'll explain the scenario in case I'm coming at this in the wrong way. WAP uses
up to three separate protocols to carry its data and uses UDP as the
transport. Therefore a UDP packet could contain WTLS, WTP or WSP data. The
combination is (thankfully) defined by the port being used.
So, for port 9200, the UDP packet contains only WSP data. However, for port
9201 the UDP packet contains WTP data *followed* by WSP data.
I'd rather keep the protocol dissection separate if possible and not have a
single wap dissector that splits everything up internally - but is this
feasible?
Cheers,
Neil
-------------------------------------------------------------------------------
Neil Hunter Tel: +44 (0)113 207 6073
Internet Systems Developer Fax: +44 (0)113 234 6065
Energis Squared Mobile: +44 (0)7787 100 649
http://www.energis-squared.com/
---------------------------------------
This email is confidential and may be privileged. If you are not the named
recipient please notify the sender immediately and do not disclose to
another person or use it and take copies. If you receive this message in
error please call the switchboard on + 44 (0)113 234 5100.
-------------------------------------------------------------------------------