Wireshark mailing list archives

Re: how to decode a packet based on the flags in the previous packet.


From: mmann78 () netscape net
Date: Tue, 1 Apr 2014 10:17:26 -0400 (EDT)


See doc/README.request_response_tracking


-----Original Message-----
From: qiaoyin_yang <qiaoyin_yang () selinc com>
To: wireshark-dev <wireshark-dev () wireshark org>
Sent: Tue, Apr 1, 2014 10:14 am
Subject: [Wireshark-dev] how to decode a packet based on the flags in the previous packet.


Hello All, 

I am writing a dissector. The capturedtraffic has a request packet and a response packet. How the response shouldbe 
decoded depends on the information in the previous request packet.  Therequest contains a few bytes that I want to read 
and use it in decodingthe response packet. 

Are there any functions that allow meto do so? Can anybody please show me these functions or an example. Youhelp is 
greatly appreciated!

Thanks!

Qiaoyin Yang
Schweitzer Engineering Laboratories, Inc.



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

 
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: