00001 /* $Id: spp_template.h,v 1.4 2004/02/13 16:19:03 roesch Exp $ */ 00002 /* Snort Preprocessor Plugin Header File Template */ 00003 00004 /* This file gets included in plugbase.h when it is integrated into the rest 00005 * of the program. 00006 */ 00007 00008 #ifndef __SPP_BAIT_AND_SWITCH_H__ 00009 #define __SPP_BAIT_AND_SWITCH_H__ 00010 00011 00012 /* we only want SD in inline mode */ 00013 #ifdef GIDS 00014 #ifndef IPFW 00015 00016 void SetupBaitAndSwitch(); 00017 void AddIpToRerouteTree(Packet *, char, uint32_t, uint32_t); 00018 int BaitAndSwitchIsRunning(void); 00019 char restorecmd[255]; 00020 char savecmd[255]; 00021 #endif /* IPFW */ 00022 #endif /* GIDS */ 00023 00024 #endif /* __SPP_BAIT_AND_SWITCH_H__ */