|
suricata
|
#include "flow.h"

Go to the source code of this file.
Data Structures | |
| struct | SCFlowStorageId |
Typedefs | |
| typedef struct SCFlowStorageId | SCFlowStorageId |
Functions | |
| unsigned int | SCFlowStorageSize (void) |
| void * | SCFlowGetStorageById (const Flow *h, SCFlowStorageId id) |
| int | SCFlowSetStorageById (Flow *h, SCFlowStorageId id, void *ptr) |
| void | SCFlowFreeStorageById (Flow *h, SCFlowStorageId id) |
| void | SCFlowFreeStorage (Flow *h) |
| void | SCRegisterFlowStorageTests (void) |
| SCFlowStorageId | SCFlowStorageRegister (const char *name, void(*Free)(void *)) |
Flow wrapper around storage api
Definition in file flow-storage.h.
| typedef struct SCFlowStorageId SCFlowStorageId |
| void SCFlowFreeStorage | ( | Flow * | h | ) |
Definition at line 55 of file flow-storage.c.
References SCFlowStorageSize(), SCStorageFreeAll(), Flow_::storage, and STORAGE_FLOW.
Referenced by FlowClearMemory().


| void SCFlowFreeStorageById | ( | Flow * | h, |
| SCFlowStorageId | id | ||
| ) |
Definition at line 50 of file flow-storage.c.
References SCStorageFreeById(), Flow_::storage, and STORAGE_FLOW.

| void* SCFlowGetStorageById | ( | const Flow * | h, |
| SCFlowStorageId | id | ||
| ) |
Definition at line 40 of file flow-storage.c.
References SCStorageGetById(), Flow_::storage, and STORAGE_FLOW.
Referenced by EveAddFlow(), PacketBypassCallback(), and TagFlowAdd().


| int SCFlowSetStorageById | ( | Flow * | h, |
| SCFlowStorageId | id, | ||
| void * | ptr | ||
| ) |
Definition at line 45 of file flow-storage.c.
References SCStorageSetById(), Flow_::storage, and STORAGE_FLOW.
Referenced by PacketBypassCallback().


| SCFlowStorageId SCFlowStorageRegister | ( | const char * | name, |
| void(*)(void *) | Free | ||
| ) |
Definition at line 61 of file flow-storage.c.
References SCFlowStorageId::id, name, SCStorageRegister(), and STORAGE_FLOW.
Referenced by RegisterFlowBypassInfo().


| unsigned int SCFlowStorageSize | ( | void | ) |
Definition at line 35 of file flow-storage.c.
References SCStorageGetSize(), and STORAGE_FLOW.
Referenced by FlowAlloc(), FlowFree(), FlowInitConfig(), and SCFlowFreeStorage().


| void SCRegisterFlowStorageTests | ( | void | ) |
Definition at line 205 of file flow-storage.c.
References UtRegisterTest().
