suricata
FtpState_ Struct Reference

#include <app-layer-ftp.h>

Collaboration diagram for FtpState_:

Public Member Functions

 TAILQ_HEAD (, FTPTransaction_) tx_list
 

Data Fields

uint8_t * input
 
int32_t input_len
 
uint8_t direction
 
bool active
 
FTPTransactioncurr_tx
 
uint64_t tx_cnt
 
uint8_t * current_line
 
uint32_t current_line_len
 
uint8_t current_line_delimiter_len
 
FtpLineState line_state [2]
 
FtpRequestCommand command
 
FtpRequestCommandArgOfs arg_offset
 
uint32_t port_line_len
 
uint32_t port_line_size
 
uint8_t * port_line
 
uint16_t dyn_port
 
uint32_t logged
 

Detailed Description

FTP State for app layer parser

Definition at line 165 of file app-layer-ftp.h.

Member Function Documentation

FtpState_::TAILQ_HEAD ( FTPTransaction_  )

transaction list

Field Documentation

bool FtpState_::active

Definition at line 169 of file app-layer-ftp.h.

FtpRequestCommandArgOfs FtpState_::arg_offset

Definition at line 186 of file app-layer-ftp.h.

Referenced by DetectFtpbounceRegister().

FtpRequestCommand FtpState_::command

Definition at line 185 of file app-layer-ftp.h.

Referenced by DetectFtpbounceRegister(), and FTPAtExitPrintStats().

FTPTransaction* FtpState_::curr_tx

Definition at line 171 of file app-layer-ftp.h.

uint8_t* FtpState_::current_line

current line extracted by the parser from the call to FTPGetline()

Definition at line 177 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

uint8_t FtpState_::current_line_delimiter_len

Definition at line 180 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

uint32_t FtpState_::current_line_len

length of the line in current_line. Doesn't include the delimiter

Definition at line 179 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

uint8_t FtpState_::direction

Definition at line 168 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

uint16_t FtpState_::dyn_port

Definition at line 191 of file app-layer-ftp.h.

uint8_t* FtpState_::input

Definition at line 166 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

int32_t FtpState_::input_len

Definition at line 167 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

FtpLineState FtpState_::line_state[2]

Definition at line 183 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

uint32_t FtpState_::logged

Definition at line 193 of file app-layer-ftp.h.

uint8_t* FtpState_::port_line

Definition at line 189 of file app-layer-ftp.h.

Referenced by DetectFtpbounceRegister().

uint32_t FtpState_::port_line_len

Definition at line 187 of file app-layer-ftp.h.

Referenced by DetectFtpbounceRegister().

uint32_t FtpState_::port_line_size

Definition at line 188 of file app-layer-ftp.h.

uint64_t FtpState_::tx_cnt

Definition at line 173 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().


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