16#include "ws_symbol_export.h"
void stream_init(void)
Initializes stream-related data structures and reassembly tables.
Definition stream.c:311
WS_DLL_PUBLIC fragment_head * stream_get_frag_data(const stream_pdu_fragment_t *frag)
Get a handle on the top of the chain of fragment_datas underlying this PDU.
Definition stream.c:406
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, bool *update_col_infop, proto_tree *tree)
Process reassembled data; if this is the last fragment, put the fragment information into the protoco...
Definition stream.c:375
WS_DLL_PUBLIC stream_t * stream_new(const struct conversation *conv, int p2p_dir)
Initialise a new stream. Call this when you first identify a distinct stream. The conversation pointe...
Definition stream.c:274
WS_DLL_PUBLIC stream_t * find_stream(const struct conversation *conv, int p2p_dir)
Retrieve a previously-created stream.
Definition stream.c:292
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)
Add a new fragment to the fragment tables for the stream.
Definition stream.c:328
uint32_t stream_get_frag_length(const stream_pdu_fragment_t *frag)
Get the length of a fragment previously found by stream_find_frag().
Definition stream.c:400
void stream_cleanup(void)
Cleans up stream-related data structures and reassembly tables.
Definition stream.c:302
uint32_t stream_get_pdu_no(const stream_pdu_fragment_t *frag)
Get the PDU number. PDUs are numbered from zero within a stream.
Definition stream.c:412
WS_DLL_PUBLIC stream_pdu_fragment_t * stream_find_frag(stream_t *stream, uint32_t framenum, uint32_t offset)
See if we've seen this fragment before.
Definition stream.c:323
Represents the head of a fragment reassembly chain, tracking overall reassembly state across all cont...
Definition reassemble.h:77
Bundles all protocol tree and header field handles needed to display a reassembled fragment tree in t...
Definition reassemble.h:811
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Definition conversation.h:229
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition tvbuff-int.h:95