Ethereal-dev: Re: [Ethereal-dev] about proto_tree_add_uint

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 08 Dec 2005 11:31:08 -0800
Guy Harris wrote:
david martinez wrote:
Hi twice, i have other question: if i use
proto_tree_add_uint(tree, id, tvb, start, length, var), the value that appear at the GUI is "var"???

Yes.

...unless "id" refers to a bitfield, in which case the bitfield value is extracted from "var", and the bitfield value is what appears in the item.