|
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. More... | |
| typedef struct SMTPState_ | SMTPState |
Functions | |
| void * | SMTPStateAlloc (void *orig_state, AppProto proto_orig) |
| void | RegisterSMTPParsers (void) |
| Register the SMTP Protocol parser. More... | |
| void | SMTPParserCleanup (void) |
| Free memory allocated for global SMTP parser state. More... | |
| void | SMTPParserRegisterTests (void) |
Variables | |
| SMTPConfig | smtp_config |
Definition in file app-layer-smtp.h.
| #define SMTP_LINE_BUFFER_LIMIT 4096 |
Definition at line 33 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 1867 of file app-layer-smtp.c.
References ALPROTO_SMTP, AppLayerProtoDetectRegisterProtocol(), and SCAppLayerProtoDetectConfProtoDetectionEnabled().

| void SMTPParserCleanup | ( | void | ) |
Free memory allocated for global SMTP parser state.
Definition at line 1922 of file app-layer-smtp.c.
| void SMTPParserRegisterTests | ( | void | ) |
Definition at line 4245 of file app-layer-smtp.c.
References UtRegisterTest().

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