Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

sp_tcp_win_check.c File Reference

#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "rules.h"
#include "decode.h"
#include "plugbase.h"
#include "parser.h"
#include "util.h"
#include "debug.h"
#include "plugin_enum.h"

Go to the source code of this file.

Typedefs

typedef _TcpWinData TcpWinData

Functions

void TcpWinCheckInit (char *, OptTreeNode *, int)
void ParseTcpWin (char *, OptTreeNode *)
int TcpWinCheckEq (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupTcpWinCheck (void)


Typedef Documentation

typedef struct _TcpWinData TcpWinData
 


Function Documentation

void ParseTcpWin char *  ,
OptTreeNode
 

Definition at line 131 of file sp_tcp_win_check.c.

References _OptTreeNode::ds_list, index, _TcpWinData::not_flag, NULL, PLUGIN_TCP_WIN_CHECK, strtol(), and _TcpWinData::tcp_win.

Referenced by TcpWinCheckInit().

void SetupTcpWinCheck void   ) 
 

Definition at line 67 of file sp_tcp_win_check.c.

References RegisterPlugin(), and TcpWinCheckInit().

Referenced by InitPlugIns().

int TcpWinCheckEq Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 189 of file sp_tcp_win_check.c.

References DEBUG_PLUGIN, _OptTreeNode::ds_list, _OptFpList::next, _OptFpList::OptTestFunc, PLUGIN_TCP_WIN_CHECK, _Packet::tcph, and _TCPHdr::th_win.

Referenced by TcpWinCheckInit().

void TcpWinCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 87 of file sp_tcp_win_check.c.

References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseTcpWin(), PLUGIN_TCP_WIN_CHECK, SnortAlloc(), and TcpWinCheckEq().

Referenced by SetupTcpWinCheck().


Generated on Sun May 14 14:51:23 2006 by  doxygen 1.4.2