Logo Search packages:      
Sourcecode: wireshark version File versions

proto_item proto_item* proto_tree_add_uint_format ( proto_tree tree,
int  hfindex,
tvbuff_t *  tvb,
gint  start,
gint  length,
guint32  value,
const char *  format,
  ... 
)

Add a formatted FT_UINT8, FT_UINT16, FT_UINT24 or FT_UINT32 to a proto_tree, with the format generating the entire string for the entry, including any field name.

Parameters:
tree the tree to append this item to
hfindex field index
tvb the tv buffer of the current data
start start of data in tvb
length length of data in tvb
value data to display
format printf like format string
... printf like parameters
Returns:
the newly created item


Generated by  Doxygen 1.6.0   Back to index