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

sp_tcp_seq_check.c File Reference

#include <sys/types.h>
#include <stdlib.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 _TcpSeqCheckData TcpSeqCheckData

Functions

void TcpSeqCheckInit (char *, OptTreeNode *, int)
void ParseTcpSeq (char *, OptTreeNode *)
int CheckTcpSeqEq (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupTcpSeqCheck (void)


Typedef Documentation

typedef struct _TcpSeqCheckData TcpSeqCheckData
 


Function Documentation

int CheckTcpSeqEq Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 156 of file sp_tcp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _OptFpList::next, _OptFpList::OptTestFunc, PLUGIN_TCP_SEQ_CHECK, _Packet::tcph, and _TCPHdr::th_seq.

Referenced by TcpSeqCheckInit().

void ParseTcpSeq char *  ,
OptTreeNode
 

Definition at line 126 of file sp_tcp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, NULL, PLUGIN_TCP_SEQ_CHECK, strtoul(), and _TcpSeqCheckData::tcp_seq.

Referenced by TcpSeqCheckInit().

void SetupTcpSeqCheck void   ) 
 

Definition at line 62 of file sp_tcp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, RegisterPlugin(), and TcpSeqCheckInit().

Referenced by InitPlugIns().

void TcpSeqCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 84 of file sp_tcp_seq_check.c.

References AddOptFuncToList(), CheckTcpSeqEq(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseTcpSeq(), PLUGIN_TCP_SEQ_CHECK, and SnortAlloc().

Referenced by SetupTcpSeqCheck().


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