Lines Matching refs:SMTPState

351 static void SMTPSetEvent(SMTPState *s, uint8_t e)  in SMTPSetEvent()
414 SMTPState *smtp_state = (SMTPState *) flow->alstate; in SMTPProcessDataChunk()
568 static int SMTPGetLine(SMTPState *state) in SMTPGetLine()
784 static int SMTPInsertCommandIntoCommandBuffer(uint8_t command, SMTPState *state, Flow *f) in SMTPInsertCommandIntoCommandBuffer()
828 static int SMTPProcessCommandBDAT(SMTPState *state, Flow *f, in SMTPProcessCommandBDAT()
847 static void SetMimeEvents(SMTPState *state) in SetMimeEvents()
884 static inline void SMTPTransactionComplete(SMTPState *state) in SMTPTransactionComplete()
895 static int SMTPProcessCommandDATA(SMTPState *state, Flow *f, in SMTPProcessCommandDATA()
961 static int SMTPProcessCommandSTARTTLS(SMTPState *state, Flow *f, in SMTPProcessCommandSTARTTLS()
967 static inline bool IsReplyToCommand(const SMTPState *state, const uint8_t cmd) in IsReplyToCommand()
973 static int SMTPProcessReply(SMTPState *state, Flow *f, in SMTPProcessReply()
1092 static int SMTPParseCommandBDAT(SMTPState *state) in SMTPParseCommandBDAT()
1130 static int SMTPParseCommandWithParam(SMTPState *state, uint8_t prefix_len, uint8_t **target, uint16… in SMTPParseCommandWithParam()
1162 static int SMTPParseCommandHELO(SMTPState *state) in SMTPParseCommandHELO()
1171 static int SMTPParseCommandMAILFROM(SMTPState *state) in SMTPParseCommandMAILFROM()
1182 static int SMTPParseCommandRCPTTO(SMTPState *state) in SMTPParseCommandRCPTTO()
1204 static int NoNewTx(SMTPState *state) in NoNewTx()
1218 static int SMTPProcessRequest(SMTPState *state, Flow *f, in SMTPProcessRequest()
1381 static AppLayerResult SMTPParse(int direction, Flow *f, SMTPState *state, in SMTPParse()
1446 SMTPState *smtp_state = SCMalloc(sizeof(SMTPState)); in SMTPStateAlloc()
1449 memset(smtp_state, 0, sizeof(SMTPState)); in SMTPStateAlloc()
1525 static void SMTPTransactionFree(SMTPTransaction *tx, SMTPState *state) in SMTPTransactionFree()
1562 SMTPState *smtp_state = (SMTPState *)p; in SMTPStateFree()
1677 SMTPState *smtp_state = state; in SMTPStateTransactionFree()
1699 SMTPState *smtp_state = state; in SMTPStateGetTxCnt()
1709 SMTPState *smtp_state = state; in SMTPStateGetTx()
1742 SMTPState *smtp_state = (SMTPState *)state; in SMTPStateGetFiles()
1960 SMTPState *smtp_state = f.alstate; in SMTPParserTest01()
2315 SMTPState *smtp_state = f.alstate; in SMTPParserTest02()
2954 SMTPState *smtp_state = f.alstate; in SMTPParserTest03()
3107 SMTPState *smtp_state = f.alstate; in SMTPParserTest04()
3256 SMTPState *smtp_state = f.alstate; in SMTPParserTest05()
3557 SMTPState *smtp_state = f.alstate; in SMTPParserTest06()
3797 SMTPState *smtp_state = f.alstate; in SMTPParserTest07()
3912 SMTPState *smtp_state = f.alstate; in SMTPParserTest08()
4027 SMTPState *smtp_state = f.alstate; in SMTPParserTest09()
4142 SMTPState *smtp_state = f.alstate; in SMTPParserTest10()
4251 SMTPState *smtp_state = f.alstate; in SMTPParserTest11()
4304 SMTPState *smtp_state = NULL; in SMTPParserTest12()
4429 SMTPState *smtp_state = NULL; in SMTPParserTest13()
4774 SMTPState *smtp_state = f.alstate; in SMTPParserTest14()
5001 SMTPState *state = (SMTPState *) f.alstate; in SMTPParserTest14()
5302 SMTPState *smtp_state = (SMTPState *)((Flow *)state->data)->alstate; in SMTPProcessDataChunkTest05()