Wireshark mailing list archives

What's the proper way to modify the tvb content for upper layer dissection ?


From: Sylvain Munaut <246tnt () gmail com>
Date: Sun, 30 Oct 2011 12:17:17 +0100

Hi,

I have a protocol where the payload for the next layer is not simply
the rest of the tvb ( The last nibble of the last octet of data octet
needs to come from some fields in the header ).

So before I handoff the tvb for further dissection (or hand it off to
the segmentation handling), I need to alter it. What's the proper way
to do that and ensure I don't create a memory leak ?

Cheers,

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