Wireshark mailing list archives

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


From: Jaap Keuter <jaap.keuter () xs4all nl>
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 
Archives:
http://www.wireshark.org/lists/wireshark-dev [2]
Unsubscribe:
https://wireshark.org/mailman/options/wireshark-dev [3]

mailto:wireshark-dev-request () wireshark org?subject=unsubscribe [4]

 


Links:
------
[1] mailto:wireshark-dev () wireshark org
[2]
http://www.wireshark.org/lists/wireshark-dev
[3]
https://wireshark.org/mailman/options/wireshark-dev
[4]
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: