"Fossies" - the Fresh Open Source Software Archive

Member "snort-2.9.17/src/dynamic-preprocessors/ftptelnet/spp_ftptelnet.h" (16 Oct 2020, 1727 Bytes) of package /linux/misc/snort-2.9.17.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "spp_ftptelnet.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.9.16.1_vs_2.9.17.

    1 /*
    2  * spp_ftptelnet.h
    3  *
    4  * Copyright (C) 2014-2020 Cisco and/or its affiliates. All rights reserved.
    5  * Copyright (C) 2004-2013 Sourcefire, Inc.
    6  * Steven A. Sturges <ssturges@sourcefire.com>
    7  * Daniel J. Roelker <droelker@sourcefire.com>
    8  * Marc A. Norton <mnorton@sourcefire.com>
    9  *
   10  * This program is free software; you can redistribute it and/or modify
   11  * it under the terms of the GNU General Public License Version 2 as
   12  * published by the Free Software Foundation.  You may not use, modify or
   13  * distribute this program under any other version of the GNU General
   14  * Public License.
   15  *
   16  * This program is distributed in the hope that it will be useful,
   17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19  * GNU General Public License for more details.
   20  *
   21  * You should have received a copy of the GNU General Public License
   22  * along with this program; if not, write to the Free Software
   23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
   24  *
   25  * Description:
   26  *
   27  * This file defines the publicly available functions for the FTPTelnet
   28  * functionality for Snort.
   29  *
   30  * NOTES:
   31  * - 16.09.04:  Initial Development.  SAS
   32  *
   33  */
   34 #ifndef __SPP_FTPTELNET_H__
   35 #define __SPP_FTPTELNET_H__
   36 
   37 typedef struct _FTPTelnet_Stats
   38 {
   39    uint64_t ftp_sessions; //Current sessions
   40    uint64_t max_ftp_sessions; //Max cuncurrent sessions
   41    uint64_t telnet_sessions;//Current sessions
   42    uint64_t max_telnet_sessions; //Max cuncurrent sessions
   43    uint64_t ftp_data_sessions;
   44    uint64_t max_ftp_data_sessions;
   45    uint64_t heap_memory;
   46 } FTPTelnet_Stats;
   47 
   48 extern FTPTelnet_Stats ftp_telnet_stats;
   49 
   50 void SetupFTPTelnet(void);
   51 
   52 #endif