Wireshark mailing list archives

Re: Stop dissection in get_pdu_len


From: Tobias Weiss <tweiss () ra rockwell com>
Date: Thu, 24 May 2012 12:29:58 -0400

Hi Kuba,

Jakub Zawadzki wrote on 05/24/2012 12:02:50 PM:
You can't. But you can check header before calling tcp_dissect_pdus().
But it'd be good to have some tcp_dissect_pdus_heur(), feel free to
write one :-)

Ok, but it's not always possible to verify the header before
tcp_dissect_pdus(), but what should I do if I can? Currently I'm calling
expert_add_info_* and return without doing anything. But in this case the
user does not even see a warning as long as he does not open the Expert
Info window.

Tobi

___________________________________________________________________________
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: