From ba8ded9bff723bc9209aa1bbc00240b306db61ea Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 22 Aug 2004 00:31:58 +0000 Subject: 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 --- doc/README.tvbuff | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/README.tvbuff') 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: -- cgit v1.2.3