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

spp_flow.h File Reference

#include "decode.h"
#include "flow/flow.h"

Go to the source code of this file.

Functions

void SetupFlow (void)
int CheckFlowShutdown (Packet *p)
int SppFlowIsRunning (void)


Function Documentation

int CheckFlowShutdown Packet p  ) 
 

See if the flow needs to be shutdown and remove it from the cache. This function should be placed AFTER all detection type components.

Parameters:
p packet
Returns:
0 on sucess

Definition at line 290 of file spp_flow.c.

References _Packet::flow, FLOW_BADJUJU, flow_callbacks(), flow_checkflag(), FLOW_CLOSEME, flow_printf(), FLOW_SHUTDOWN, FLOW_SUCCESS, flowcache_releaseflow(), FROM_INITIATOR, and NULL.

Referenced by Preprocess().

void SetupFlow void   ) 
 

Add the Flow Preprocessor to the list of things that snort can configure.

Definition at line 85 of file spp_flow.c.

References FlowInit(), RegisterPreprocessor(), and SetupFlowPS().

Referenced by InitPreprocessors().

int SppFlowIsRunning void   ) 
 

Return 1 if spp_flow has been configured

Returns:
1 if spp_flow is enabled

Definition at line 430 of file spp_flow.c.

References s_flow_running.

Referenced by FlowBitsInit(), and FlowPSInit().


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