00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: spp_ai.h 00005 * 00006 * Description: Header file for the preprocessor 00007 * 00008 * Version: 1.0 00009 * Created: 30/07/2010 15:47:12 00010 * Revision: none 00011 * Compiler: gcc 00012 * 00013 * Author: BlackLight (http://0x00.ath.cx), <blacklight@autistici.org> 00014 * Licence: GNU GPL v.3 00015 * Company: DO WHAT YOU WANT CAUSE A PIRATE IS FREE, YOU ARE A PIRATE! 00016 * 00017 * ===================================================================================== 00018 */ 00019 00020 #ifndef _SPP_AI_H 00021 #define _SPP_AI_H 00022 00023 #include "sf_snort_packet.h" 00024 00025 typedef unsigned int uint32_t; 00026 typedef unsigned short uint16_t; 00027 00028 typedef enum { false, true } BOOL; 00029 00030 typedef struct _AI_config 00031 { 00032 uint16_t portToCheck; 00033 unsigned long hashCleanupInterval; 00034 unsigned long streamExpireInterval; 00035 00036 } AI_config; 00037 00038 void AI_pkt_enqueue ( SFSnortPacket* ); 00039 void* AI_hashcleanup_thread ( void* ); 00040 00041 #endif /* _SPP_AI_H */ 00042