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

sp_tcp_ack_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 "debug.h"
#include "util.h"
#include "plugin_enum.h"

Go to the source code of this file.

Typedefs

typedef _TcpAckCheckData TcpAckCheckData

Functions

void TcpAckCheckInit (char *, OptTreeNode *, int)
void ParseTcpAck (char *, OptTreeNode *)
int CheckTcpAckEq (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupTcpAckCheck (void)


Typedef Documentation

typedef struct _TcpAckCheckData TcpAckCheckData
 


Function Documentation

int CheckTcpAckEq Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 153 of file sp_tcp_ack_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _OptFpList::next, _OptFpList::OptTestFunc, PLUGIN_TCP_ACK_CHECK, _Packet::tcph, and _TCPHdr::th_ack.

Referenced by TcpAckCheckInit().

void ParseTcpAck char *  ,
OptTreeNode
 

Definition at line 124 of file sp_tcp_ack_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, NULL, PLUGIN_TCP_ACK_CHECK, strtoul(), and _TcpAckCheckData::tcp_ack.

Referenced by TcpAckCheckInit().

void SetupTcpAckCheck void   ) 
 

Definition at line 60 of file sp_tcp_ack_check.c.

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

Referenced by InitPlugIns().

void TcpAckCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 81 of file sp_tcp_ack_check.c.

References AddOptFuncToList(), CheckTcpAckEq(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseTcpAck(), PLUGIN_TCP_ACK_CHECK, and SnortAlloc().

Referenced by SetupTcpAckCheck().


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