12#ifndef __REQ_RESP_HDRS_H__
13#define __REQ_RESP_HDRS_H__
15#include "ws_symbol_export.h"
44 const bool desegment_headers,
const bool desegment_body,
45 bool desegment_until_fin,
int *last_chunk_offset,
52 unsigned chunk_size = 0;
59 char* 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)) {
uint8_t * tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const int offset, const int length, const unsigned encoding)
Definition tvbuff.c:3229
int tvb_reported_length_remaining(const tvbuff_t *tvb, const int offset)
Definition tvbuff.c:752
int tvb_find_line_end(tvbuff_t *tvb, const int offset, int len, int *next_offset, const bool desegment)
Definition tvbuff.c:4128
WS_DLL_PUBLIC bool req_resp_hdrs_do_reassembly(tvbuff_t *tvb, const int offset, packet_info *pinfo, const bool desegment_headers, const bool desegment_body, bool 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:43
wmem_allocator_t * pool
Definition packet_info.h:155
Definition tvbuff-int.h:35