#include "spp_ai.h"
#include "sfPolicyUserData.h"
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
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_config * | AI_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 AI_init | ( | char * | args | ) | [static] |
Initialize the preprocessor module.
FUNCTION: AI_init
args | Configuration arguments passed to the module |
static AI_config * AI_parse | ( | char * | args | ) | [static] |
void AI_process | ( | void * | pkt, | |
void * | context | |||
) | [static] |
Function executed every time the module receives a packet to be processed.
FUNCTION: AI_process
pkt | void* pointer to the packet data | |
context | void* pointer to the context |
void AI_setup | ( | void | ) |
Set up the preprocessor module.
FUNCTION: AI_setup
tSfPolicyUserContextId ex_config = NULL |