Logo Search packages:      
Sourcecode: wireshark version File versions

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

Add a FT_PROTOCOL to a proto_tree.

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
format printf like format string
... printf like parameters
the newly created item

Generated by  Doxygen 1.6.0   Back to index