suricata
app-layer-smb.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "app-layer-protos.h"
#include "app-layer-detect-proto.h"
#include "app-layer-parser.h"
#include "util-unittest.h"
#include "rust.h"
#include "app-layer-smb.h"
#include "rust-smb-smb-gen.h"
#include "rust-smb-files-gen.h"
#include "util-misc.h"
#include "stream-tcp.h"
#include "util-unittest-helper.h"
Include dependency graph for app-layer-smb.c:

Go to the source code of this file.

Macros

#define MIN_REC_SIZE   32+4
 
#define SMB_CONFIG_DEFAULT_STREAM_DEPTH   0
 

Functions

void RegisterSMBParsers (void)
 

Macro Definition Documentation

#define MIN_REC_SIZE   32+4

Definition at line 33 of file app-layer-smb.c.

Referenced by RegisterSMBParsers().

#define SMB_CONFIG_DEFAULT_STREAM_DEPTH   0

Definition at line 247 of file app-layer-smb.c.

Function Documentation

void RegisterSMBParsers ( void  )

SMB

Definition at line 255 of file app-layer-smb.c.

References Flow_::alparser, Flow_::alproto, ALPROTO_SMB, APP_LAYER_PARSER_OPT_ACCEPT_GAPS, AppLayerParserConfParserEnabled(), AppLayerParserParse(), AppLayerParserRegisterDetectFlagsFuncs(), AppLayerParserRegisterDetectStateFuncs(), AppLayerParserRegisterGetEventInfo(), AppLayerParserRegisterGetEventsFunc(), AppLayerParserRegisterGetFilesFunc(), AppLayerParserRegisterGetStateProgressCompletionStatus(), AppLayerParserRegisterGetStateProgressFunc(), AppLayerParserRegisterGetTx(), AppLayerParserRegisterGetTxCnt(), AppLayerParserRegisterGetTxIterator(), AppLayerParserRegisterLoggerFuncs(), AppLayerParserRegisterOptionFlags(), AppLayerParserRegisterParser(), AppLayerParserRegisterProtocolUnittests(), AppLayerParserRegisterStateFuncs(), AppLayerParserRegisterTruncateFunc(), AppLayerParserRegisterTxFreeFunc(), AppLayerParserSetStreamDepth(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), AppLayerParserTransactionsCleanup(), AppLayerProtoDetectConfProtoDetectionEnabled(), AppLayerProtoDetectPPParseConfPorts(), AppLayerProtoDetectPPRegister(), AppLayerProtoDetectRegisterProtocol(), ConfGetNode(), FAIL_IF_NOT, FAIL_IF_NULL, MIN_REC_SIZE, ParseSizeStringU32(), PASS, Flow_::proto, Flow_::protoctx, RunmodeIsUnittests(), SC_ERR_SMB_CONFIG, SCLogError, SCLogInfo, SCLogWarning, STREAM_EOF, STREAM_START, STREAM_TOCLIENT, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), TRUE, UTHAppLayerParserStateGetIds(), UTHBuildFlow(), UTHFreeFlow(), UtRegisterTest(), and ConfNode_::val.

Referenced by AppLayerParserRegisterProtocolParsers(), and RegisterAllModules().

Here is the call graph for this function:

Here is the caller graph for this function: