diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-08-22 00:31:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-08-22 00:31:58 +0000 |
commit | c68f62210fc20890502cb84dbc2ea4321de5b791 (patch) | |
tree | d7311a179eacd5a137e9e874b3bf2d0e15377de6 /doc/README.developer | |
parent | 9dcb077e460619b8ab54810e4fef850a0799bcde (diff) | |
download | wireshark-c68f62210fc20890502cb84dbc2ea4321de5b791.tar.gz |
Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers.
Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.
Use those routines in the RSVP dissector.
svn path=/trunk/; revision=11796
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/doc/README.developer b/doc/README.developer index c6de0b2ad6..eb5da52d76 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1443,6 +1443,13 @@ protocol or field labels to the proto_tree: format, ...); proto_item * + proto_tree_add_uint64(tree, id, tvb, start, length, value); + + proto_item * + proto_tree_add_uint64_format(tree, id, tvb, start, length, value, + format, ...); + + proto_item * proto_tree_add_int(tree, id, tvb, start, length, value); proto_item * @@ -1452,6 +1459,13 @@ protocol or field labels to the proto_tree: proto_tree_add_int_format(tree, id, tvb, start, length, value, format, ...); + proto_item * + proto_tree_add_int64(tree, id, tvb, start, length, value); + + proto_item * + proto_tree_add_int64_format(tree, id, tvb, start, length, value, + format, ...); + proto_item* proto_tree_add_text(tree, tvb, start, length, format, ...); @@ -1605,7 +1619,9 @@ proto_tree_add_boolean() proto_tree_add_float() proto_tree_add_double() proto_tree_add_uint() +proto_tree_add_uint64() proto_tree_add_int() +proto_tree_add_int64() ---------------------------- These routines are used to add items to the protocol tree if either: @@ -1658,11 +1674,17 @@ host's floating-point format. For proto_tree_add_uint(), the 'value' argument is a 32-bit unsigned integer value, in host byte order. (This routine cannot be used to add -64-bit integers; they can only be added with proto_tree_add_item().) +64-bit integers.) + +For proto_tree_add_uint64(), the 'value' argument is a 64-bit unsigned +integer value, in host byte order. For proto_tree_add_int(), the 'value' argument is a 32-bit signed integer value, in host byte order. (This routine cannot be used to add -64-bit integers; they can only be added with proto_tree_add_item().) +64-bit integers.) + +For proto_tree_add_int64(), the 'value' argument is a 64-bit signed +integer value, in host byte order. proto_tree_add_bytes_hidden() proto_tree_add_time_hidden() @@ -1692,7 +1714,9 @@ proto_tree_add_boolean_format() proto_tree_add_float_format() proto_tree_add_double_format() proto_tree_add_uint_format() +proto_tree_add_uint64_format() proto_tree_add_int_format() +proto_tree_add_int64_format() ---------------------------- These routines are used to add items to the protocol tree when the dissector routines wants complete control over how the field and value |