|
suricata
|


Go to the source code of this file.
Data Structures | |
| struct | SMTPString_ |
| struct | SMTPTransaction_ |
| struct | SMTPConfig |
| Structure for containing configuration options. More... | |
| struct | SMTPState_ |
Macros | |
| #define | SMTP_LINE_BUFFER_LIMIT 4096 |
Typedefs | |
| typedef struct SMTPString_ | SMTPString |
| typedef struct SMTPTransaction_ | SMTPTransaction |
| typedef struct SMTPConfig | SMTPConfig |
| Structure for containing configuration options. | |
| typedef struct SMTPState_ | SMTPState |
Functions | |
| void * | SMTPStateAlloc (void *orig_state, AppProto proto_orig) |
| void | RegisterSMTPParsers (void) |
| Register the SMTP Protocol parser. | |
| void | SMTPParserCleanup (void) |
| Free memory allocated for global SMTP parser state. | |
| void | SMTPParserRegisterTests (void) |
Variables | |
| SMTPConfig | smtp_config |
Definition in file app-layer-smtp.h.
| #define SMTP_LINE_BUFFER_LIMIT 4096 |
Definition at line 32 of file app-layer-smtp.h.
| typedef struct SMTPConfig SMTPConfig |
Structure for containing configuration options.
| typedef struct SMTPState_ SMTPState |
| typedef struct SMTPString_ SMTPString |
| typedef struct SMTPTransaction_ SMTPTransaction |
| anonymous enum |
Definition at line 34 of file app-layer-smtp.h.
| void RegisterSMTPParsers | ( | void | ) |
Register the SMTP Protocol parser.
Definition at line 1860 of file app-layer-smtp.c.
References ALPROTO_SMTP, AppLayerParserRegisterGetEventInfo(), AppLayerParserRegisterGetEventInfoById(), AppLayerParserRegisterGetFrameFuncs(), AppLayerParserRegisterGetStateProgressFunc(), AppLayerParserRegisterGetTx(), AppLayerParserRegisterGetTxCnt(), AppLayerParserRegisterGetTxFilesFunc(), AppLayerParserRegisterGetTxIterator(), AppLayerParserRegisterLocalStorageFunc(), AppLayerParserRegisterParser(), AppLayerParserRegisterProtocolUnittests(), AppLayerParserRegisterStateDataFunc(), AppLayerParserRegisterStateFuncs(), AppLayerParserRegisterStateProgressCompletionStatus(), AppLayerParserRegisterTxDataFunc(), AppLayerParserRegisterTxFreeFunc(), AppLayerProtoDetectRegisterProtocol(), SCAppLayerParserConfParserEnabled(), SCAppLayerProtoDetectConfProtoDetectionEnabled(), SCLogInfo, SMTPParserRegisterTests(), and SMTPStateAlloc().
Referenced by AppLayerParserRegisterProtocolParsers().


| void SMTPParserCleanup | ( | void | ) |
Free memory allocated for global SMTP parser state.
Definition at line 1915 of file app-layer-smtp.c.
Referenced by AppLayerParserDeSetup().

| void SMTPParserRegisterTests | ( | void | ) |
Definition at line 4245 of file app-layer-smtp.c.
References UtRegisterTest().
Referenced by RegisterSMTPParsers().


| void * SMTPStateAlloc | ( | void * | orig_state, |
| AppProto | proto_orig | ||
| ) |
Definition at line 1496 of file app-layer-smtp.c.
References SMTPState_::cmds, SMTPState_::cmds_buffer_len, SCCalloc, SCFree, SCMalloc, SMTP_COMMAND_BUFFER_STEPS, TAILQ_INIT, and unlikely.
Referenced by RegisterSMTPParsers().

|
extern |
Definition at line 293 of file app-layer-smtp.c.