suricata
detect-lua.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "threads.h"
#include "debug.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-spm-bm.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
#include "stream-tcp.h"
#include "detect-lua.h"
#include "detect-lua-extensions.h"
#include "queue.h"
#include "util-cpu.h"
#include "util-var-name.h"
Include dependency graph for detect-lua.c:

Go to the source code of this file.

Functions

void DetectLuaRegister (void)
 Registration function for keyword: lua. More...
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Definition in file detect-lua.c.

Function Documentation

void DetectLuaRegister ( void  )

Registration function for keyword: lua.

Definition at line 74 of file detect-lua.c.

References SigTableElmt_::alias, Flow_::alparser, Flow_::alproto, Signature_::alproto, ALPROTO_DNP3, ALPROTO_DNS, ALPROTO_HTTP, ALPROTO_SMTP, ALPROTO_SSH, ALPROTO_TLS, ALPROTO_UNKNOWN, Flow_::alstate, AppLayerGetProtoName(), AppLayerParserGetTransactionInspectId(), AppLayerParserGetTx(), AppLayerParserGetTxCnt(), AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), SigTableElmt_::AppLayerTxMatch, BUG_ON, HtpState_::connp, SigMatch_::ctx, SigMatchData_::ctx, FlowVar_::data, DE_QUIET, SigTableElmt_::desc, DETECT_LUA, DETECT_SM_LIST_MATCH, DETECT_SM_LIST_MAX, DETECT_SM_LIST_PMATCH, DetectAppLayerInspectEngineRegister(), DetectBufferTypeGetByName(), DetectBufferTypeRegister(), DetectEngineAppendSig(), DetectEngineCtxFree(), DetectEngineCtxInit(), DetectEngineInspectGenericList(), DetectEngineThreadCtxInit(), DetectLoadCompleteSigPath(), DetectLuaMatchBuffer(), DetectLuaPostSetup(), DetectLuaRegister(), DetectRegisterThreadCtxFuncs(), DetectThreadCtxGetKeywordThreadCtx(), flags, Flow_::flags, Packet_::flags, DetectEngineCtx_::flags, SigTableElmt_::flags, Packet_::flow, FLOW_DESTROY, FLOW_INITIALIZE, FLOW_IPV4, FLOW_PKT_ESTABLISHED, FLOW_PKT_TOCLIENT, FLOW_PKT_TOSERVER, Packet_::flowflags, FLOWLOCK_UNLOCK, FLOWLOCK_WRLOCK, FlowVarGet(), SigTableElmt_::Free, FlowVar_::fv_int, FlowVar_::fv_str, GET_PKT_DATA, GET_PKT_LEN, Signature_::gid, Signature_::id, Signature_::init_data, SigTableElmt_::Match, SigTableElmt_::name, SigMatch_::next, offset, PacketAlertCheck(), Packet_::payload, Packet_::payload_len, PKT_HAS_FLOW, PKT_STREAM_EST, PrintRawDataFp(), Flow_::proto, Flow_::protoctx, SigTableElmt_::RegisterTests, Signature_::rev, SC_ERR_LUA_ERROR, SCEnter, SCFree, SCLogDebug, SCLogError, SCLogInfo, SCMalloc, SCReturnInt, SCStrdup, SigTableElmt_::Setup, SIG_FLAG_TOCLIENT, SIG_FLAG_TOSERVER, SigGroupBuild(), SIGMATCH_NOT_BUILT, sigmatch_table, SigMatchAlloc(), SigMatchAppendSMToList(), SigMatchSignatures(), SignatureInitData_::smlists, str, STREAM_TOCLIENT, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), TRUE, tx_id, DetectEngineThreadCtx_::tx_id, SigMatch_::type, type, unlikely, SigTableElmt_::url, UTHBuildPacket(), UTHFreePackets(), UtRegisterTest(), FlowVarTypeStr::value, FlowVarTypeInt_::value, FlowVarTypeStr::value_len, VAR_TYPE_FLOW_INT, VAR_TYPE_FLOW_VAR, and VarNameStoreSetupAdd().

Referenced by DetectLuaRegister(), and SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: