Wireshark-dev: Re: [Wireshark-dev] What's the proper way to modify the tvb content for upper la
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 31 Oct 2011 21:09:39 +0100

Hi,

See tvb_new_child_real_data()

Thanks,
Jaap

On Sun, 30 Oct 2011 12:17:17 +0100, Sylvain Munaut wrote:

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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe