Ethereal-dev: AW: [Ethereal-dev] How to register dissector only on UDP source port?
Thanks,
that would be possible, but can it also be done without heuristic dissectors?
-----Ursprüngliche Nachricht-----
Von: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]Im Auftrag von Jaap Keuter
Gesendet: Dienstag, 11. Oktober 2005 12:36
An: Ethereal development
Betreff: Re: [Ethereal-dev] How to register dissector only on UDP source
port?
Why not create two heuristic dissectors? If these payloads are very
different they should be able to tell if it's for them and return TRUE.
On Tue, 11 Oct 2005 Lars2B wrote:
> 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
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev