Ethereal-dev: [Ethereal-dev] How to register dissector only on UDP source port?

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

Date: Tue, 11 Oct 2005 12:30:25 +0200
Hi list,

I have to dissect some protocols on top of  UDP and I wondered how to configure a dissector to be applied only for a source or destination port number. Depending on pinfo->destport, I can switch to different dissecting functions within one packet-dissector, but I'd like to split it up into two separate dissectors as the payload differs a lot.

Thanks,

Lars