Home
last modified time | relevance | path

Searched refs:ConfGetBool (Results 1 – 25 of 28) sorted by relevance

12

/dports/security/suricata/suricata-6.0.4/src/
H A Drunmode-napatech.c106 if (ConfGetBool("napatech.use-all-streams", &use_all_streams) == 0) { in NapatechRegisterDeviceStreams()
111 if (ConfGetBool("napatech.auto-config", &auto_config) == 0) { in NapatechRegisterDeviceStreams()
115 if (ConfGetBool("napatech.hardware-bypass", &use_hw_bypass) == 0) { in NapatechRegisterDeviceStreams()
H A Dsource-pcap-file.c234 if (ConfGetBool("pcap-file.delete-when-done", &should_delete) == 1) { in ReceivePcapFileThreadInit()
297 if (ConfGetBool("pcap-file.recursive", &should_recurse) == 1) { in ReceivePcapFileThreadInit()
303 if (ConfGetBool("pcap-file.continuous", &should_loop) == 1) { in ReceivePcapFileThreadInit()
H A Ddecode-erspan.c54 if (ConfGetBool("decoder.erspan.typeI.enabled", &enabled) == 1) { in DecodeERSPANConfig()
H A Dconf.h64 int ConfGetBool(const char *name, int *val);
H A Ddecode-teredo.c104 if (ConfGetBool("decoder.teredo.enabled", &enabled) == 1) { in DecodeTeredoConfig()
H A Dsource-napatech.c737 if (ConfGetBool("threading.set-cpu-affinity", &set_cpu_affinity) != 1) { in RecommendNUMAConfig()
815 if (ConfGetBool("napatech.auto-config", &is_autoconfig) == 0) { in NapatechPacketLoop()
838 if (ConfGetBool("threading.set-cpu-affinity", &set_cpu_affinity) != 1) { in NapatechPacketLoop()
851 if (ConfGetBool("napatech.inline", &is_inline) == 0) { in NapatechPacketLoop()
H A Ddecode-vntag.c51 if (ConfGetBool("decoder.vntag.enabled", &enabled) == 1) { in DecodeVNTagConfig()
H A Ddecode-vxlan.c104 if (ConfGetBool("decoder.vxlan.enabled", &enabled) == 1) { in DecodeVXLANConfig()
H A Dconf.c516 int ConfGetBool(const char *name, int *val) in ConfGetBool() function
1108 FAIL_IF(ConfGetBool(name, &val) != 1); in ConfTestGetBool()
1114 FAIL_IF(ConfGetBool(name, &val) != 1); in ConfTestGetBool()
H A Dsuricata.c2189 if (ConfGetBool("detect.delayed-detect", &suri->delayed_detect) != 1) {
2342 (void)ConfGetBool("multi-detect.enabled", &mt_enabled);
2345 (void)ConfGetBool("multi-detect.default", &default_tenant);
2467 if (ConfGetBool("capture.disable-offloading", &disable_offloading) == 0)
2775 if (ConfGetBool("vlan.use-for-tracking", &vlan_tracking) == 1 && !vlan_tracking) {
H A Dutil-napatech.c486 if (ConfGetBool("napatech.inline", &is_inline) == 0) { in NapatechStatsLoop()
490 if (ConfGetBool("napatech.enable-stream-stats", &enable_stream_stats) == 0) { in NapatechStatsLoop()
826 if (ConfGetBool("napatech.use-all-streams", &use_all_streams) == 0) { in NapatechGetStreamConfig()
881 ConfGetBool("threading.set-cpu-affinity", &set_cpu_affinity); in NapatechGetStreamConfig()
1391 if (ConfGetBool("napatech.inline", &is_inline) == 0) { in NapatechSetupTraffic()
H A Dapp-layer-nfs-tcp.c287 ConfGetBool("stream.midstream", &midstream); in RegisterNFSTCPParsers()
H A Dutil-debug.h543 ConfGetBool("engine.init-failure-fatal", &init_errors_fatal); \
H A Ddecode-geneve.c130 if (ConfGetBool("decoder.geneve.enabled", &enabled) == 1) { in DecodeGeneveConfig()
H A Ddetect-engine-mpm.c239 if (ConfGetBool(confstring, &confshared) == 1) in DetectMpmInitializeAppMpms()
407 if (ConfGetBool(confstring, &confshared) == 1) in DetectMpmInitializePktMpms()
465 if (ConfGetBool(confstring, &confshared) == 1) in SetupBuiltinMpm()
H A Ddetect-engine-build.c1803 (void)ConfGetBool("detect.profiling.grouping.dump-to-disk", &dump_grouping); in SigAddressPrepareStage4()
1807 (void)ConfGetBool("detect.profiling.grouping.include-rules", &add_rules); in SigAddressPrepareStage4()
1809 (void)ConfGetBool("detect.profiling.grouping.include-mpm-stats", &add_mpm_stats); in SigAddressPrepareStage4()
H A Drunmodes.c924 if ((ConfGetBool("threading.set-cpu-affinity", &threading_set_cpu_affinity)) == 0) { in RunModeInitialize()
H A Doutput-lua.c856 if (ConfGetBool("engine.init-failure-fatal", &failure_fatal) != 1) { in OutputLuaLogInit()
H A Ddetect-engine.c2029 if (ConfGetBool("engine.init-failure-fatal", (int *)&(de_ctx->failure_fatal)) != 1) { in DetectEngineCtxInitReal()
3656 (void)ConfGetBool("engine.init-failure-fatal", &failure_fatal);
3659 (void)ConfGetBool("multi-detect.enabled", &enabled);
3677 if ((ConfGetBool("vlan.use-for-tracking", &vlanbool)) == 1 && vlanbool == 0) {
H A Dunix-manager.c1042 if (ConfGetBool("engine.init-failure-fatal", &failure_fatal) != 1) { in UnixManagerInit()
H A Dsource-nfq.c228 (void)ConfGetBool("nfq.fail-open", (int *)&boolval); in NFQInitConfig()
H A Ddetect-engine-analyzer.c287 if ((ConfGetBool("engine-analysis.rules-fast-pattern", in SetupFPAnalyzer()
H A Dstream-tcp.c421 ConfGetBool("stream.midstream", &stream_config.midstream); in StreamTcpInitConfig()
427 ConfGetBool("stream.async-oneside", &stream_config.async_oneside); in StreamTcpInitConfig()
435 if ((ConfGetBool("stream.checksum-validation", &csum)) == 1) { in StreamTcpInitConfig()
460 } else if (ConfGetBool("stream.inline", &inl) == 1) { in StreamTcpInitConfig()
479 if ((ConfGetBool("stream.bypass", &bypass)) == 1) { in StreamTcpInitConfig()
492 if ((ConfGetBool("stream.drop-invalid", &drop_invalid)) == 1) { in StreamTcpInitConfig()
554 if ((ConfGetBool("stream.reassembly.randomize-chunk-size", &randomize)) == 0) { in StreamTcpInitConfig()
631 if (ConfGetBool("stream.reassembly.raw", &enable_raw) == 1) { in StreamTcpInitConfig()
H A Dapp-layer-parser.c225 if (ConfGetBool("app-layer.protocols.http2.http1-rules", &value) == 1 && value == 1) { in AppLayerParserSetup()
H A Dapp-layer-ssl.c3007 if (ConfGetBool("tls.no-reassemble", &value) == 1 && value == 1) in RegisterSSLParsers()
3011 if (ConfGetBool("app-layer.protocols.tls.no-reassemble", &value) == 1 && value == 1) in RegisterSSLParsers()

12