Re: [Wireshark-dev] switch between protocols

2010-12-09 Thread Guy Harris
On Dec 8, 2010, at 11:52 PM, Lange Jan-Erik wrote: > I realized the behavior using a heuristic dissector now and it works. In my > case it is a low level protocol, that doesn't even base on ethernet. I use > wtab_encap for reading. > > But the method with the dissector handoff table sounds int

Re: [Wireshark-dev] switch between protocols

2010-12-08 Thread Lange Jan-Erik
_ Von: wireshark-dev-boun...@wireshark.org [wireshark-dev-boun...@wireshark.org] im Auftrag von Guy Harris [...@alum.mit.edu] Gesendet: Mittwoch, 8. Dezember 2010 19:01 An: Developer support list for Wireshark Betreff: Re: [Wireshark-dev] switch between protocols On Dec 8, 2010, at 7:39 AM, Chris

Re: [Wireshark-dev] switch between protocols

2010-12-08 Thread Guy Harris
On Dec 8, 2010, at 7:39 AM, Christopher Maynard wrote: > Lange Jan-Erik writes: > >> Dependent on the value of a type field I want to dissect a packet with > protocol A or protocol B. >> >> Is this a typical application for the use of a heuristic dissector? Or how >> can > I realize the swit

Re: [Wireshark-dev] switch between protocols

2010-12-08 Thread Christopher Maynard
Lange Jan-Erik writes: > Dependent on the value of a type field I want to dissect a packet with protocol A or protocol B. >   > Is this a typical application for the use of a heuristic dissector? Or how can I realize the switch between the to protocolls? A heuristic dissector is basically one th

[Wireshark-dev] switch between protocols

2010-12-08 Thread Lange Jan-Erik
Hello, Dependent on the value of a type field I want to dissect a packet with protocol A or protocol B. Is this a typical application for the use of a heuristic dissector? Or how can I realize the switch between the to protocolls? Best regards Jan-Erik