suricata
SMTPState_ Struct Reference

#include <app-layer-smtp.h>

Collaboration diagram for SMTPState_:

Public Member Functions

 TAILQ_HEAD (, SMTPTransaction_) tx_list
 

Data Fields

AppLayerStateData state_data
 
SMTPTransactioncurr_tx
 
uint64_t tx_cnt
 
uint64_t toserver_data_count
 
uint64_t toserver_last_data_stamp
 
bool discard_till_lf_ts
 
bool discard_till_lf_tc
 
uint8_t parser_state
 
uint8_t current_command
 
uint32_t bdat_chunk_len
 
uint32_t bdat_chunk_idx
 
uint8_t * cmds
 
uint16_t cmds_buffer_len
 
uint16_t cmds_cnt
 
uint16_t cmds_idx
 
uint16_t helo_len
 
uint8_t * helo
 
uint32_t file_track_id
 

Detailed Description

Definition at line 116 of file app-layer-smtp.h.

Member Function Documentation

◆ TAILQ_HEAD()

SMTPState_::TAILQ_HEAD ( SMTPTransaction_  )

transaction list

Field Documentation

◆ bdat_chunk_idx

uint32_t SMTPState_::bdat_chunk_idx

bdat chunk idx

Definition at line 135 of file app-layer-smtp.h.

◆ bdat_chunk_len

uint32_t SMTPState_::bdat_chunk_len

bdat chunk len

Definition at line 133 of file app-layer-smtp.h.

◆ cmds

uint8_t* SMTPState_::cmds

the command buffer

Definition at line 140 of file app-layer-smtp.h.

Referenced by SMTPStateAlloc().

◆ cmds_buffer_len

uint16_t SMTPState_::cmds_buffer_len

the buffer length

Definition at line 142 of file app-layer-smtp.h.

Referenced by SMTPStateAlloc().

◆ cmds_cnt

uint16_t SMTPState_::cmds_cnt

no of commands stored in the above buffer

Definition at line 144 of file app-layer-smtp.h.

◆ cmds_idx

uint16_t SMTPState_::cmds_idx

index of the command in the buffer, currently in inspection by reply handler

Definition at line 147 of file app-layer-smtp.h.

◆ curr_tx

SMTPTransaction* SMTPState_::curr_tx

Definition at line 118 of file app-layer-smtp.h.

◆ current_command

uint8_t SMTPState_::current_command

current command in progress

Definition at line 131 of file app-layer-smtp.h.

◆ discard_till_lf_tc

bool SMTPState_::discard_till_lf_tc

Definition at line 126 of file app-layer-smtp.h.

◆ discard_till_lf_ts

bool SMTPState_::discard_till_lf_ts

Definition at line 125 of file app-layer-smtp.h.

◆ file_track_id

uint32_t SMTPState_::file_track_id

the list of files sent to the server

Definition at line 155 of file app-layer-smtp.h.

◆ helo

uint8_t* SMTPState_::helo

Definition at line 151 of file app-layer-smtp.h.

◆ helo_len

uint16_t SMTPState_::helo_len

Definition at line 150 of file app-layer-smtp.h.

◆ parser_state

uint8_t SMTPState_::parser_state

var to indicate parser state

Definition at line 129 of file app-layer-smtp.h.

◆ state_data

AppLayerStateData SMTPState_::state_data

Definition at line 117 of file app-layer-smtp.h.

◆ toserver_data_count

uint64_t SMTPState_::toserver_data_count

Definition at line 121 of file app-layer-smtp.h.

◆ toserver_last_data_stamp

uint64_t SMTPState_::toserver_last_data_stamp

Definition at line 122 of file app-layer-smtp.h.

◆ tx_cnt

uint64_t SMTPState_::tx_cnt

Definition at line 120 of file app-layer-smtp.h.


The documentation for this struct was generated from the following file: