aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.tvbuff
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-08-22 00:31:58 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-08-22 00:31:58 +0000
commitba8ded9bff723bc9209aa1bbc00240b306db61ea (patch)
treed7311a179eacd5a137e9e874b3bf2d0e15377de6 /doc/README.tvbuff
parent91ea2a98dc9d8b07978d276fcc2810961412b756 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11796 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc/README.tvbuff')
-rw-r--r--doc/README.tvbuff10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/README.tvbuff b/doc/README.tvbuff
index 5cce7fb925..2aad9d8dcc 100644
--- a/doc/README.tvbuff
+++ b/doc/README.tvbuff
@@ -115,19 +115,21 @@ Single-byte accessor:
guint8 tvb_get_guint8(tvbuff_t*, gint offset);
-Network-to-host-order access for shorts (guint16), longs (guint24), and
-24-bit ints:
+Network-to-host-order access for 16-bit integers (guint16), 32-bit
+integers (guint32), 24-bit integers, and 64-bit integers (guint64):
guint16 tvb_get_ntohs(tvbuff_t*, gint offset);
guint32 tvb_get_ntohl(tvbuff_t*, gint offset);
guint32 tvb_get_ntoh24(tvbuff_t*, gint offset);
+guint64 tvb_get_ntoh64(tvbuff_t*, gint offset);
-Little-Endian-to-host-order access for shorts (guint16), longs (guint24), and
-24-bit ints:
+Little-Endian-to-host-order access for 16-bit integers (guint16), 32-bit
+integers (guint32), 24-bit integers, and 64-bit integers (guint64):
guint16 tvb_get_letohs(tvbuff_t*, gint offset);
guint32 tvb_get_letohl(tvbuff_t*, gint offset);
guint32 tvb_get_letoh24(tvbuff_t*, gint offset);
+guint64 tvb_get_letoh64(tvbuff_t*, gint offset);
Copying memory: