Ethereal

Re: [Ethereal-dev] UDP dissector with unknown port
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: October 2003



On Oct 5, 2003, at 10:16 PM, Tomas Kukosa wrote:

I think better than
dissector_add("udp.port", 0, xxx_handle);
is
dissector_add_handle("udp.port", xxx_handle);

Yes, the latter is the preferred way of registering the XXX dissector as a protocol for a dissector that runs atop a particular protocol, but that doesn't have a fixed "port" (selector) value for that protocol, and that isn't a heuristic dissector for that protocol (which means you need to use "Decode As..." or "-d" to use it).



Powered by MHonArc 2.6.10