12 #ifndef __REQ_RESP_HDRS_H__
13 #define __REQ_RESP_HDRS_H__
15 #include "ws_symbol_export.h"
42 WS_DLL_PUBLIC gboolean
44 const gboolean desegment_headers,
const gboolean desegment_body,
45 gboolean desegment_until_fin,
int *last_chunk_offset,
49 static inline gboolean
59 gchar* c = chunk_string;
64 if ((c = strpbrk(c,
"; \t"))) {
68 if (!ws_hexstrtou32(chunk_string, NULL, &chunk_size)) {
70 }
else if (chunk_size > (1U << 31)) {
guint8 * tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset, const gint length, const guint encoding)
Definition: tvbuff.c:3234
gint tvb_find_line_end(tvbuff_t *tvb, const gint offset, int len, gint *next_offset, const gboolean desegment)
Definition: tvbuff.c:4130
gint tvb_reported_length_remaining(const tvbuff_t *tvb, const gint offset)
Definition: tvbuff.c:757
WS_DLL_PUBLIC gboolean req_resp_hdrs_do_reassembly(tvbuff_t *tvb, const int offset, packet_info *pinfo, const gboolean desegment_headers, const gboolean desegment_body, gboolean desegment_until_fin, int *last_chunk_offset, dissector_table_t streaming_subdissector_table, dissector_handle_t *streaming_chunk_handle)
Definition: req_resp_hdrs.c:28
Definition: packet_info.h:44
wmem_allocator_t * pool
Definition: packet_info.h:156
Definition: tvbuff-int.h:35