suricata
app-layer-ftp.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "decode.h"
#include "threads.h"
#include "util-print.h"
#include "util-pool.h"
#include "flow-util.h"
#include "flow-storage.h"
#include "detect-engine-state.h"
#include "stream-tcp-private.h"
#include "stream-tcp-reassemble.h"
#include "stream-tcp.h"
#include "stream.h"
#include "app-layer.h"
#include "app-layer-protos.h"
#include "app-layer-parser.h"
#include "app-layer-ftp.h"
#include "app-layer-expectation.h"
#include "util-spm.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "util-memcmp.h"
#include "util-memrchr.h"
#include "util-byte.h"
#include "util-mem.h"
#include "util-misc.h"
#include "output-json.h"
Include dependency graph for app-layer-ftp.c:

Go to the source code of this file.

Data Structures

struct  FtpTransferCmd
 

Functions

 SC_ATOMIC_DECLARE (uint64_t, ftp_memuse)
 
 SC_ATOMIC_DECLARE (uint64_t, ftp_memcap)
 
uint64_t FTPMemuseGlobalCounter (void)
 
uint64_t FTPMemcapGlobalCounter (void)
 
void RegisterFTPParsers (void)
 
void FTPAtExitPrintStats (void)
 
void FTPParserRegisterTests (void)
 

Variables

uint64_t ftp_config_memcap = 0
 

Detailed Description

Author
Pablo Rincon Crespo pablo.nosp@m..rin.nosp@m.con.c.nosp@m.resp.nosp@m.o@gma.nosp@m.il.c.nosp@m.om
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

App Layer Parser for FTP

Definition in file app-layer-ftp.c.

Function Documentation

uint64_t FTPMemuseGlobalCounter ( void  )

Definition at line 106 of file app-layer-ftp.c.

References SC_ATOMIC_GET.

Referenced by AppLayerRegisterGlobalCounters().

Here is the caller graph for this function:

void FTPParserRegisterTests ( void  )

Definition at line 1413 of file app-layer-ftp.c.

References UtRegisterTest().

Referenced by RegisterFTPParsers().

Here is the call graph for this function:

Here is the caller graph for this function:

SC_ATOMIC_DECLARE ( uint64_t  ,
ftp_memuse   
)
SC_ATOMIC_DECLARE ( uint64_t  ,
ftp_memcap   
)

Variable Documentation

uint64_t ftp_config_memcap = 0

Definition at line 66 of file app-layer-ftp.c.

Referenced by FTPMemcapGlobalCounter().