Hi,
If you just want to present the modified data in the tree use one of the
proto_tree_add_*_format() functions. They provide means of coupling
presentation of the bytes in the packet with the interpretation you
program.
If you need to put the data into a tvb for furhter dissection you have to
use some of the tvb functions. Look in README.developer and tvbuff.h for
further details on that.
Thanx,
Jaap
On Thu, 30 Mar 2006 adalbert.20.keil@xxxxxxxxxxxxxxx wrote:
> hi,
> i am programming a plug-in and in doing so i have to extract data from the tvbuffer by using tvb_get_letohs.
> in the extracted data some bits must be deleted and the bits of a byte must be mirrored. i am doing that with normal c instructions.
> then i want to show the modified data in the tree, but how could i append it to a buffer. i think i have to take a virtual one,
> but i can not discover, how i append the modified data to a buffer.
>
> Thanks in advance,
> Andy
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>