Go to the documentation of this file.
24 #ifndef SURICATA_DETECT_ENGINE_INSPECT_BUFFER_H
25 #define SURICATA_DETECT_ENGINE_INSPECT_BUFFER_H
40 #ifdef DEBUG_VALIDATION
InspectionBuffer * InspectionBufferGet(DetectEngineThreadCtx *det_ctx, const int list_id)
void InspectionBufferApplyTransforms(DetectEngineThreadCtx *det_ctx, InspectionBuffer *buffer, const DetectEngineTransforms *transforms)
void InspectionBufferCopy(InspectionBuffer *buffer, uint8_t *buf, uint32_t buf_len)
void InspectionBufferSetupMulti(DetectEngineThreadCtx *det_ctx, InspectionBuffer *buffer, const DetectEngineTransforms *transforms, const uint8_t *data, const uint32_t data_len)
setup the buffer with our initial data
struct InspectionBuffer InspectionBuffer
void InspectionBufferClean(DetectEngineThreadCtx *det_ctx)
void InspectionBufferFree(InspectionBuffer *buffer)
void InspectionBufferSetupAndApplyTransforms(DetectEngineThreadCtx *det_ctx, const int list_id, InspectionBuffer *buffer, const uint8_t *data, const uint32_t data_len, const DetectEngineTransforms *transforms)
setup the buffer with our initial data
uint8_t * SCInspectionBufferCheckAndExpand(InspectionBuffer *buffer, uint32_t min_size)
make sure that the buffer has at least 'min_size' bytes Expand the buffer if necessary
void InspectionBufferSetup(DetectEngineThreadCtx *det_ctx, const int list_id, InspectionBuffer *buffer, const uint8_t *data, const uint32_t data_len)
setup the buffer with our initial data
void InspectionBufferSetupMultiEmpty(InspectionBuffer *buffer)
setup the buffer empty
a single match condition for a signature
void SCInspectionBufferTruncate(InspectionBuffer *buffer, uint32_t buf_len)
void InspectionBufferInit(InspectionBuffer *buffer, uint32_t initial_size)
InspectionBuffer * InspectionBufferMultipleForListGet(DetectEngineThreadCtx *det_ctx, const int list_id, uint32_t local_id)
for a InspectionBufferMultipleForList get a InspectionBuffer