suricata
detect-http-header-common.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 
HttpHeaderBufferHttpHeaderGetBufferSpace (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)
 

Detailed Description

Typedef Documentation

◆ HttpHeaderBuffer

◆ HttpHeaderThreadData

◆ HttpHeaderThreadDataConfig

Function Documentation

◆ HttpHeaderExpandBuffer()

int HttpHeaderExpandBuffer ( HttpHeaderThreadData td,
HttpHeaderBuffer buf,
uint32_t  size 
)

◆ HttpHeaderGetBufferSpace()

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.

Here is the call graph for this function:

◆ HttpHeaderThreadDataFree()

void HttpHeaderThreadDataFree ( void *  data)