suricata
FtpState_ Struct Reference

#include <app-layer-ftp.h>

Collaboration diagram for FtpState_:

Data Fields

uint8_t * input
 
int32_t input_len
 
uint8_t direction
 
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
 
DetectEngineStatede_state
 

Detailed Description

FTP State for app layer parser

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

Field Documentation

FtpRequestCommandArgOfs FtpState_::arg_offset

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

Referenced by DetectFtpbounceRegister().

FtpRequestCommand FtpState_::command
uint8_t* FtpState_::current_line

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

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

Referenced by FTPMemcapGlobalCounter().

uint8_t FtpState_::current_line_delimiter_len

Definition at line 124 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 123 of file app-layer-ftp.h.

Referenced by FTPMemcapGlobalCounter().

DetectEngineState* FtpState_::de_state

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

uint8_t FtpState_::direction

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

Referenced by FTPMemcapGlobalCounter().

uint16_t FtpState_::dyn_port

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

uint8_t* FtpState_::input

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

Referenced by FTPMemcapGlobalCounter().

int32_t FtpState_::input_len

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

Referenced by FTPMemcapGlobalCounter().

FtpLineState FtpState_::line_state[2]

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

Referenced by FTPMemcapGlobalCounter().

uint32_t FtpState_::logged

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

uint8_t* FtpState_::port_line

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

Referenced by DetectFtpbounceRegister().

uint32_t FtpState_::port_line_len

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

Referenced by DetectFtpbounceRegister().

uint32_t FtpState_::port_line_size

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


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