suricata
|
Go to the source code of this file.
Data Structures | |
struct | HttpHeaderBuffer_ |
struct | HttpHeaderThreadConfig_ |
struct | HttpHeaderThreadData_ |
Typedefs | |
typedef struct HttpHeaderBuffer_ | HttpHeaderBuffer |
typedef struct HttpHeaderThreadConfig_ | HttpHeaderThreadDataConfig |
typedef struct HttpHeaderThreadData_ | HttpHeaderThreadData |
Functions | |
void * | HttpHeaderThreadDataInit (void *data) |
void | HttpHeaderThreadDataFree (void *data) |
HttpHeaderBuffer * | HttpHeaderGetBufferSpace (DetectEngineThreadCtx *det_ctx, Flow *f, uint8_t flags, const int keyword_id, HttpHeaderThreadData **ret_hdr_td) |
int | HttpHeaderExpandBuffer (HttpHeaderThreadData *td, HttpHeaderBuffer *buf, uint32_t size) |
Definition in file detect-http-header-common.h.
typedef struct HttpHeaderBuffer_ HttpHeaderBuffer |
typedef struct HttpHeaderThreadData_ HttpHeaderThreadData |
typedef struct HttpHeaderThreadConfig_ HttpHeaderThreadDataConfig |
int HttpHeaderExpandBuffer | ( | HttpHeaderThreadData * | td, |
HttpHeaderBuffer * | buf, | ||
uint32_t | size | ||
) |
Definition at line 81 of file detect-http-header-common.c.
References HttpHeaderBuffer_::buffer, HttpHeaderBuffer_::len, SCLogDebug, SCRealloc, HttpHeaderBuffer_::size, HttpHeaderThreadData_::size_step, and unlikely.
Referenced by HttpHeaderThreadDataInit().
HttpHeaderBuffer* HttpHeaderGetBufferSpace | ( | DetectEngineThreadCtx * | det_ctx, |
Flow * | f, | ||
uint8_t | flags, | ||
const int | keyword_id, | ||
HttpHeaderThreadData ** | ret_hdr_td | ||
) |
Definition at line 100 of file detect-http-header-common.c.
References HttpHeaderThreadData_::buffer, DetectThreadCtxGetGlobalKeywordThreadCtx(), and HttpHeaderBuffer_::len.
void HttpHeaderThreadDataFree | ( | void * | data | ) |
Definition at line 74 of file detect-http-header-common.c.
References HttpHeaderBuffer_::buffer, HttpHeaderThreadData_::buffer, and SCFree.