Re: [Wireshark-dev] Dissector global variable

2008-07-01 Thread Hans Glück
lt;[EMAIL PROTECTED]> An: Developer support list for Wireshark Gesendet: Montag, den 30. Juni 2008, 19:44:30 Uhr Betreff: Re: [Wireshark-dev] Dissector global variable Hi, A global variable won't work for two reasons: 1. The capture file is accessed randomly. 2. You might have multiple e

Re: [Wireshark-dev] Dissector global variable

2008-06-30 Thread Jaap Keuter
Hi, A global variable won't work for two reasons: 1. The capture file is accessed randomly. 2. You might have multiple exchanges you need to follow. To tackle point 2 you can use conversations. Read about them in README.developer. To collect and keep track of protocol data across packets have a

Re: [Wireshark-dev] Dissector global variable

2008-06-30 Thread Jeff Morriss
Hans Glück wrote: > Hello, > > I´m writing a dissector and I want to implement "error recovery mode"/"flow > control", therefor I need two gloabl variables where I can store some values > (-> "next_expected_frame_to_be_recieved" and > "next_expected_frame_to_be_send"). > I declared them at