Wireshark mailing list archives

Re: Need advice on modifying tvb


From: didier <dgautheron () magic fr>
Date: Tue, 24 Nov 2009 21:25:47 +0100

Hi,
Le mardi 24 novembre 2009 à 15:05 -0500, Beth a écrit :
tvb_new_subset doesn't allow me to change the contents, does it?  If
it does, then you are correct that would be the easiest way.  But I
thought that tvb data was considered constant, and if you needed to
modify it then you should create a new tvb.
Did you add a new data source? It might work but it won't be pretty.

Somehow have to change that checksum of the frame that I am forwarding
to the builtin dissector.
Another option would be to add a new preference to the standard
dissector: disable checksum.

Didier


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