int RunModeIpsIPFWAutoFp(DetectEngineCtx *de_ctx) { SCEnter(); int ret = 0; #ifdef IPFW RunModeInitialize(); TimeModeSetLive(); ret = RunModeSetIPSAutoFp(de_ctx, IPFWGetThread, "ReceiveIPFW", "VerdictIPFW", "DecodeIPFW"); #endif /* IPFW */ return ret; }
int RunModeIpsNFQAutoFp(void) { SCEnter(); int ret = 0; #ifdef NFQ RunModeInitialize(); TimeModeSetLive(); LiveDeviceHasNoStats(); ret = RunModeSetIPSAutoFp(NFQGetThread, "ReceiveNFQ", "VerdictNFQ", "DecodeNFQ"); #endif /* NFQ */ return ret; }