Ask Your Question

Revision history [back]

Add values to a tree that aren't part of the tvb buffer

Good morning,

i have a question regarding dissector development in C. I have additional information that i would like to display in my tree but this data isn't part of the tvb buffer. Is there a way to add values to a tree analog to proto_tree_add_item(my_tree, hf_my_info, tvb, offset, 1, ENC_LITTLE_ENDIAN); but with a variable instead of the buffer?

Thanks, ju53