Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] displaying tree values > 32 bits

From: "Kevin Arruda" <karruda@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Nov 2007 18:13:36 -0500

Hello,


I was having some trouble finding the answer to this:

 

I would like to add an entry to my dissection table which handles a 128 bit value.  For values > 32 bits, must I forego the table entry altogether and simply do a manual call when constructing the tree, e.g.

 

proto_tree_add_bytes_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb,

      gint 2, gint 16, const guint8* start_ptr, “%s”,

      ...)

 

Or is there a simpler way to do this so that a standard hf_register_info table can be used?

 

Thanks,


Kevin

 

.......................................................

Kevin Arruda

Software Engineer

Lamprey Networks

603.630.0461