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


Andreas Sikkema wrote:
> 
> Erwin Rol wrote:
> 
> > How should i register a dissector for a protocol that sits inside UDP
> > packets but doesn't have a fixed port number ?
> 
> With 0 0 port for the correct protocol (UDP or TCP). This way it is
> accessable via Decode As...

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

Tom


Powered by MHonArc 2.6.10