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 /epan/tvbuff.h | |
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 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index d286ae64f0..afcfad18cf 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -298,12 +298,14 @@ extern guint8 tvb_get_guint8(tvbuff_t*, gint offset); extern guint16 tvb_get_ntohs(tvbuff_t*, gint offset); extern guint32 tvb_get_ntoh24(tvbuff_t*, gint offset); extern guint32 tvb_get_ntohl(tvbuff_t*, gint offset); +extern guint64 tvb_get_ntoh64(tvbuff_t*, gint offset); extern gfloat tvb_get_ntohieee_float(tvbuff_t*, gint offset); extern gdouble tvb_get_ntohieee_double(tvbuff_t*, gint offset); extern guint16 tvb_get_letohs(tvbuff_t*, gint offset); extern guint32 tvb_get_letoh24(tvbuff_t*, gint offset); extern guint32 tvb_get_letohl(tvbuff_t*, gint offset); +extern guint64 tvb_get_letoh64(tvbuff_t*, gint offset); extern gfloat tvb_get_letohieee_float(tvbuff_t*, gint offset); extern gdouble tvb_get_letohieee_double(tvbuff_t*, gint offset); |