suricata
|
#include "suricata-common.h"
#include "detect.h"
#include "detect-engine-threshold.h"
#include "util-var.h"
#include "flow-var.h"
#include "flow-bit.h"
#include "pkt-var.h"
#include "host-bit.h"
#include "ippair-bit.h"
#include "util-validate.h"
#include "util-debug.h"
Go to the source code of this file.
Functions | |
void | XBitFree (XBit *fb) |
void | GenericVarFree (GenericVar *gv) |
void | GenericVarAppend (GenericVar **list, GenericVar *gv) |
void | GenericVarRemove (GenericVar **list, GenericVar *gv) |
int | AddVariableToResolveList (ResolvedVariablesList *list, const char *var) |
void | CleanVariableResolveList (ResolvedVariablesList *var_list) |
Generic variable utility functions
Definition in file util-var.c.
int AddVariableToResolveList | ( | ResolvedVariablesList * | list, |
const char * | var | ||
) |
Definition at line 139 of file util-var.c.
void CleanVariableResolveList | ( | ResolvedVariablesList * | var_list | ) |
Definition at line 168 of file util-var.c.
References next, SCFree, TAILQ_FIRST, and TAILQ_REMOVE.
void GenericVarAppend | ( | GenericVar ** | list, |
GenericVar * | gv | ||
) |
Definition at line 98 of file util-var.c.
Referenced by FlowVarAddIdValue(), FlowVarAddIntNoLock(), and FlowVarAddKeyValue().
void GenericVarFree | ( | GenericVar * | gv | ) |
Definition at line 48 of file util-var.c.
References DEBUG_VALIDATE_BUG_ON, DETECT_FLOWBITS, DETECT_FLOWVAR, DETECT_PKTVAR, DETECT_THRESHOLD, DETECT_XBITS, FlowBitFree(), FlowThresholdVarFree(), FlowVarFree(), GenericVarFree(), GenericVar_::next, PktVarFree(), SCLogDebug, GenericVar_::type, and XBitFree().
Referenced by GenericVarFree().
void GenericVarRemove | ( | GenericVar ** | list, |
GenericVar * | gv | ||
) |
Definition at line 117 of file util-var.c.
void XBitFree | ( | XBit * | fb | ) |
Definition at line 40 of file util-var.c.
References SCFree.
Referenced by GenericVarFree().