Functions | Variables

Main file for spp_ai module

Functions

static void AI_init (char *args)
 Initialize the preprocessor module.
static void AI_process (void *pkt, void *context)
 Function executed every time the module receives a packet to be processed.
static AI_configAI_parse (char *args)
 Parse the arguments passed to the module saving them to a valid configuration struct.
void AI_setup (void)
 Set up the preprocessor module.

Variables

tSfPolicyUserContextId ex_config = NULL
static void *(* alertparser_thread )(void *) = NULL

Function Documentation

static void AI_init ( char *  args  )  [static]

Initialize the preprocessor module.

Parameters:
args Configuration arguments passed to the module
static AI_config * AI_parse ( char *  args  )  [static]

Parse the arguments passed to the module saving them to a valid configuration struct.

Parameters:
args Arguments passed to the module
Returns:
Pointer to AI_config keeping the configuration for the module
void AI_process ( void *  pkt,
void *  context 
) [static]

Function executed every time the module receives a packet to be processed.

Parameters:
pkt void* pointer to the packet data
context void* pointer to the context
void AI_setup ( void   ) 

Set up the preprocessor module.


Variable Documentation

void*(* alertparser_thread)(void *) = NULL [static]
tSfPolicyUserContextId ex_config = NULL
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines