75 (void)CreateSpace(td, 1);
93 SCLogDebug(
"hdrnames->buffers[%d].size %u (%u)",
109 hdrnames->
tick = tick;
114 if (size >= SHRT_MAX)
144 while ((buf->
size + extra) < (size + buf->
len)) {
147 SCLogDebug(
"adding %"PRIuMAX
" to the buffer", (uintmax_t)extra);
160 Flow *f, uint8_t
flags, uint64_t tx_id,
const int keyword_id,
171 Reset(hdr_td, det_ctx->
ticker);
172 *ret_hdr_td = hdr_td;
177 BUG_ON(base_inspect_id > tx_id);
179 uint64_t txs = (tx_id - base_inspect_id) + 1;
180 if (CreateSpace(hdr_td, txs) < 0)
183 index = (tx_id - base_inspect_id);
197 if (CreateSpace(hdr_td, txs) < 0)