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

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

Go to the source code of this file.

Typedefs

typedef _ClientServerData ClientServerData

Functions

void FlowInit (char *, OptTreeNode *, int)
void ParseFlowArgs (char *, OptTreeNode *)
void InitFlowData (OptTreeNode *)
int CheckFromClient (Packet *, struct _OptTreeNode *, OptFpList *)
int CheckFromServer (Packet *, struct _OptTreeNode *, OptFpList *)
int CheckForReassembled (Packet *, struct _OptTreeNode *, OptFpList *)
int CheckForNonReassembled (Packet *p, struct _OptTreeNode *, OptFpList *)
void SetupClientServer (void)


Typedef Documentation

typedef struct _ClientServerData ClientServerData
 


Function Documentation

int CheckForNonReassembled Packet p,
struct _OptTreeNode ,
OptFpList
 

Definition at line 410 of file sp_clientserver.c.

References _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, and PKT_REBUILT_STREAM.

Referenced by ParseFlowArgs().

int CheckForReassembled Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 384 of file sp_clientserver.c.

References _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, and PKT_REBUILT_STREAM.

Referenced by ParseFlowArgs().

int CheckFromClient Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 310 of file sp_clientserver.c.

References DEBUG_STREAM, DEBUG_WRAP, _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_FROM_CLIENT, PKT_FROM_SERVER, PKT_REBUILT_STREAM, pv, and _progvars::stateful.

Referenced by ParseFlowArgs().

int CheckFromServer Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 351 of file sp_clientserver.c.

References _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_FROM_CLIENT, PKT_FROM_SERVER, pv, and _progvars::stateful.

Referenced by ParseFlowArgs().

void FlowInit char *  ,
OptTreeNode ,
int 
 

Definition at line 102 of file sp_clientserver.c.

References _OptTreeNode::ds_list, FatalError(), file_line, file_name, InitFlowData(), ParseFlowArgs(), and PLUGIN_CLIENTSERVER.

Referenced by SetupClientServer(), and SetupFlow().

void InitFlowData OptTreeNode  ) 
 

Definition at line 283 of file sp_clientserver.c.

References _OptTreeNode::ds_list, FatalError(), NULL, and PLUGIN_CLIENTSERVER.

Referenced by FlowInit().

void ParseFlowArgs char *  ,
OptTreeNode
 

Definition at line 136 of file sp_clientserver.c.

References AddOptFuncToList(), CheckForNonReassembled(), CheckForReassembled(), CheckFromClient(), CheckFromServer(), DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _OptTreeNode::established, FatalError(), file_line, file_name, _ClientServerData::from_client, _ClientServerData::from_server, _ClientServerData::ignore_reassembled, NULL, _ClientServerData::only_reassembled, PLUGIN_CLIENTSERVER, _OptTreeNode::stateless, strcasecmp, and _OptTreeNode::unestablished.

Referenced by FlowInit().

void SetupClientServer void   ) 
 

Definition at line 80 of file sp_clientserver.c.

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

Referenced by InitPlugIns().


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