Logo Search packages:      
Sourcecode: wireshark version File versions

proto_item proto_item* proto_tree_add_bytes_format ( proto_tree tree,
int  hfindex,
tvbuff_t *  tvb,
gint  start,
gint  length,
const guint8 *  start_ptr,
const char *  format,

Add a formatted FT_BYTES to a proto_tree, with the format generating the entire string for the entry, including any field name.

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
start_ptr pointer to the data to display
format printf like format string
... printf like parameters
the newly created item

Generated by  Doxygen 1.6.0   Back to index