diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
commit | 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch) | |
tree | 2784370cda9bbf2da9114d70f05399c0b229d28c /epan/stream.h | |
parent | Adding debian version 4.2.6-1. (diff) | |
download | wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | epan/stream.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/stream.h b/epan/stream.h index 1a7ad3e8..db06a3c4 100644 --- a/epan/stream.h +++ b/epan/stream.h @@ -70,7 +70,7 @@ WS_DLL_PUBLIC stream_t *find_stream ( const struct conversation *conv, int p2p_d to this frame, but the idea is that you use the number of the frame being disassembled, and the byte-offset within that frame. */ -WS_DLL_PUBLIC stream_pdu_fragment_t *stream_find_frag( stream_t *stream, guint32 framenum, guint32 offset ); +WS_DLL_PUBLIC stream_pdu_fragment_t *stream_find_frag( stream_t *stream, uint32_t framenum, uint32_t offset ); /* add a new fragment to the fragment tables for the stream. The framenum and * offset are keys allowing future access with stream_find_frag(), tvb is the @@ -85,12 +85,12 @@ WS_DLL_PUBLIC stream_pdu_fragment_t *stream_find_frag( stream_t *stream, guint32 * This essentially means that you can only add fragments on the first pass * through the stream. */ -WS_DLL_PUBLIC stream_pdu_fragment_t *stream_add_frag( stream_t *stream, guint32 framenum, guint32 offset, - tvbuff_t *tvb, packet_info *pinfo, gboolean more_frags ); +WS_DLL_PUBLIC stream_pdu_fragment_t *stream_add_frag( stream_t *stream, uint32_t framenum, uint32_t offset, + tvbuff_t *tvb, packet_info *pinfo, bool more_frags ); /* Get the length of a fragment previously found by stream_find_frag(). */ -extern guint32 stream_get_frag_length( const stream_pdu_fragment_t *frag); +extern uint32_t stream_get_frag_length( const stream_pdu_fragment_t *frag); /* Get a handle on the top of the chain of fragment_datas underlying this PDU * frag can be any fragment within a PDU, and it will always return the head of @@ -110,12 +110,12 @@ WS_DLL_PUBLIC tvbuff_t *stream_process_reassembled( tvbuff_t *tvb, int offset, packet_info *pinfo, const char *name, const stream_pdu_fragment_t *frag, const struct _fragment_items *fit, - gboolean *update_col_infop, proto_tree *tree); + bool *update_col_infop, proto_tree *tree); /* Get the PDU number. PDUs are numbered from zero within a stream. * frag can be any fragment within a PDU. */ -extern guint32 stream_get_pdu_no( const stream_pdu_fragment_t *frag); +extern uint32_t stream_get_pdu_no( const stream_pdu_fragment_t *frag); /* initialise the stream routines */ void stream_init( void ); |